From 2c7c78dfdd1a6d4cce647910e40421264071726f Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Sat, 29 Nov 2008 16:35:03 +0000 Subject: [PATCH] J : * Fix a bug with a non-writable string. --- projects/mtg/src/GameLauncher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/GameLauncher.cpp b/projects/mtg/src/GameLauncher.cpp index 4c25f8ab5..50c08e0b3 100644 --- a/projects/mtg/src/GameLauncher.cpp +++ b/projects/mtg/src/GameLauncher.cpp @@ -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; }