Fix array decay in PLATFORM_getOSDirectory()

Whoops.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-08-07 17:55:18 -04:00
1 parent 609ceb782c
commit 688f759967
1 file changed
+1 -1
+1 -1
View File
@@ -354,7 +354,7 @@ void PLATFORM_getOSDirectory(char* output)
WideCharToMultiByte(CP_UTF8, 0, utf16_path, -1, output, MAX_PATH, NULL, NULL);
SDL_strlcat(output, "\\VVVVVV\\", sizeof(output));
#else
SDL_strlcpy(output, PHYSFS_getPrefDir("distractionware", "VVVVVV"), sizeof(output));
SDL_strlcpy(output, PHYSFS_getPrefDir("distractionware", "VVVVVV"), MAX_PATH);
#endif
}