* Fix a bug with a non-writable string.
This commit is contained in:
jean.chalard
2008-11-29 16:35:03 +00:00
parent 08113c66c8
commit 2c7c78dfdd
+2 -1
View File
@@ -13,6 +13,7 @@
#include "../include/GameApp.h" #include "../include/GameApp.h"
static char GameName[] = "Wagic";
//------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------
JApp* JGameLauncher::GetGameApp() JApp* JGameLauncher::GetGameApp()
@@ -24,7 +25,7 @@ JApp* JGameLauncher::GetGameApp()
//------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------
char *JGameLauncher::GetName() char *JGameLauncher::GetName()
{ {
return "Wagic"; return GameName;
} }