* 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

View File

@@ -13,6 +13,7 @@
#include "../include/GameApp.h"
static char GameName[] = "Wagic";
//-------------------------------------------------------------------------------------
JApp* JGameLauncher::GetGameApp()
@@ -24,7 +25,7 @@ JApp* JGameLauncher::GetGameApp()
//-------------------------------------------------------------------------------------
char *JGameLauncher::GetName()
{
return "Wagic";
return GameName;
}