mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed things pointed out by Alex Szpakowski and Bart von Strien
This commit is contained in:
@@ -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, '\\', '/');
|
||||
|
||||
Reference in New Issue
Block a user