mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size.
This commit is contained in:
@@ -72,7 +72,7 @@ SDL_GetBasePath(void)
|
||||
|
||||
/* buffer too small? Try again. */
|
||||
SDL_free(path);
|
||||
len *= 2;
|
||||
buflen *= 2;
|
||||
}
|
||||
|
||||
FreeLibrary(psapi);
|
||||
|
||||
Reference in New Issue
Block a user