Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer size.
--HG-- extra : rebase_source : 57286d2f315dbb6b68321326e506d26469651afa
This commit is contained in:
parent
9d1a2cb9bf
commit
ae904749d0
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ SDL_GetBasePath(void)
|
|||
|
||||
/* buffer too small? Try again. */
|
||||
SDL_free(path);
|
||||
len *= 2;
|
||||
buflen *= 2;
|
||||
}
|
||||
|
||||
FreeLibrary(psapi);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue