summaryrefslogtreecommitdiffstats
path: root/src/common/restext.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-05-01 21:02:43 +0200
committerkrzys-h <krzys_h@interia.pl>2013-05-01 21:02:43 +0200
commitd815fbf09e0e99b42d449bce7083bc0968f581be (patch)
treeec7ebdbe407968e25585c6195a7f51370d234a3b /src/common/restext.cpp
parent23e3e552f3a93b382e494d0a60ab22c266d1dcd1 (diff)
downloadcolobot-d815fbf09e0e99b42d449bce7083bc0968f581be.tar.gz
colobot-d815fbf09e0e99b42d449bce7083bc0968f581be.tar.bz2
colobot-d815fbf09e0e99b42d449bce7083bc0968f581be.zip
Saving information to profile (#154)
Diffstat (limited to 'src/common/restext.cpp')
-rw-r--r--src/common/restext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/restext.cpp b/src/common/restext.cpp
index 9af73e4..b610d7f 100644
--- a/src/common/restext.cpp
+++ b/src/common/restext.cpp
@@ -731,9 +731,9 @@ void InitializeRestext()
static char g_gamerName[100];
-void SetGlobalGamerName(char *name)
+void SetGlobalGamerName(std::string name)
{
- strcpy(g_gamerName, name);
+ strcpy(g_gamerName, name.c_str());
}