Fix CPP template project crash

This commit is contained in:
Dhilan007 2014-10-17 17:02:22 +08:00 committed by honghui
parent 48c15d64a1
commit a65b5d7541
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ bool HelloWorld::init()
// add a label shows "Hello World"
// create and initialize a label
auto label = Label::createWithTTF("Hello World", "Arial", 24);
auto label = Label::createWithTTF("Hello World", "fonts/Marker Felt.ttf", 24);
// position the label on the center of the screen
label->setPosition(Vec2(origin.x + visibleSize.width/2,