summaryrefslogtreecommitdiffstats
path: root/src/app/system_windows.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2014-09-07 19:26:06 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2014-09-21 12:29:06 +0200
commit6a1ceba8c0914691ebc873fd666e7cde1cffdb64 (patch)
tree4cf5c979672de510ec37039d88258f0ce3e2b1f0 /src/app/system_windows.cpp
parentf0b38721e05dbda1d3562abc06fec535d1aa5a07 (diff)
downloadcolobot-6a1ceba8c0914691ebc873fd666e7cde1cffdb64.tar.gz
colobot-6a1ceba8c0914691ebc873fd666e7cde1cffdb64.tar.bz2
colobot-6a1ceba8c0914691ebc873fd666e7cde1cffdb64.zip
Some cleaning up
Diffstat (limited to 'src/app/system_windows.cpp')
-rw-r--r--src/app/system_windows.cpp4
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;
}