diff options
Diffstat (limited to 'src/app/system_windows.cpp')
-rw-r--r-- | src/app/system_windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/system_windows.cpp b/src/app/system_windows.cpp index e35f83f..a300bc4 100644 --- a/src/app/system_windows.cpp +++ b/src/app/system_windows.cpp @@ -114,7 +114,7 @@ std::wstring CSystemUtilsWindows::UTF8_Decode(const std::string& str) std::string CSystemUtilsWindows::GetSaveDir() { std::string savegameDir; - + char* envUSERPROFILE = getenv("USERPROFILE"); if (envUSERPROFILE == NULL) { @@ -125,6 +125,6 @@ std::string CSystemUtilsWindows::GetSaveDir() savegameDir = std::string(envUSERPROFILE) + "\\colobot"; } GetLogger()->Trace("Saved game files are going to %s\n", savegameDir.c_str()); - + return savegameDir; } |