mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix array decay in PLATFORM_getOSDirectory()
Whoops.
This commit is contained in:
parent
609ceb782c
commit
688f759967
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue