mirror of https://github.com/encounter/SDL.git
Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size.
This commit is contained in:
parent
f9abea2061
commit
566316e052
|
@ -72,7 +72,7 @@ SDL_GetBasePath(void)
|
|||
|
||||
/* buffer too small? Try again. */
|
||||
SDL_free(path);
|
||||
len *= 2;
|
||||
buflen *= 2;
|
||||
}
|
||||
|
||||
FreeLibrary(psapi);
|
||||
|
|
Loading…
Reference in New Issue