Fix CPP template project crash

This commit is contained in:
Dhilan007 2014-10-17 17:02:22 +08:00
parent d241e568b0
commit 4bede5067e
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,