From a65b5d7541e22d9dbd442bf2680c7af4b9cfa247 Mon Sep 17 00:00:00 2001 From: Dhilan007 Date: Fri, 17 Oct 2014 17:02:22 +0800 Subject: [PATCH] Fix CPP template project crash --- templates/cpp-template-default/Classes/HelloWorldScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cpp-template-default/Classes/HelloWorldScene.cpp b/templates/cpp-template-default/Classes/HelloWorldScene.cpp index 8a437afe99..5c273b9b8b 100644 --- a/templates/cpp-template-default/Classes/HelloWorldScene.cpp +++ b/templates/cpp-template-default/Classes/HelloWorldScene.cpp @@ -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,