Fixed things pointed out by Alex Szpakowski and Bart von Strien

This commit is contained in:
T-Bone
2016-04-09 07:28:03 +02:00
parent b2291fb62a
commit 4ef7504c05
6 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -521,7 +521,7 @@ std::string Filesystem::getAppdataDirectory()
{
#ifdef LOVE_WINDOWS_UWP
appdata = getUserDirectory();
#elif LOVE_WINDOWS
#elif defined(LOVE_WINDOWS)
wchar_t *w_appdata = _wgetenv(L"APPDATA");
appdata = to_utf8(w_appdata);
replace_char(appdata, '\\', '/');