J :
* Fix a bug with a non-writable string.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user