1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2025-04-16 21:46:03 +02:00

Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size.

This commit is contained in:
Ryan C. Gordon 2015-05-28 15:29:43 -04:00
parent f9abea2061
commit 566316e052

View File

@ -72,7 +72,7 @@ SDL_GetBasePath(void)
/* buffer too small? Try again. */ /* buffer too small? Try again. */
SDL_free(path); SDL_free(path);
len *= 2; buflen *= 2;
} }
FreeLibrary(psapi); FreeLibrary(psapi);