diff options
Diffstat (limited to 'src/common/restext.cpp')
-rw-r--r-- | src/common/restext.cpp | 4 |
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()); } |