diff options
Diffstat (limited to 'backends/platform/sdl/posix')
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index 7279bb2507..c9c7304c0f 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -58,9 +58,9 @@ Common::String OSystem_POSIX::getDefaultConfigFileName() { // to the HOME directory of the user. const char *home = getenv("HOME"); if (home != NULL && strlen(home) < MAXPATHLEN) - snprintf(configFile, MAXPATHLEN, "%s/%s", home, _baseConfigName); + snprintf(configFile, MAXPATHLEN, "%s/%s", home, _baseConfigName.c_str()); else - strcpy(configFile, _baseConfigName); + strcpy(configFile, _baseConfigName.c_str()); return configFile; } |