mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Fix array decay in PLATFORM_getOSDirectory()
Whoops.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user