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

--HG--
extra : rebase_source : 57286d2f315dbb6b68321326e506d26469651afa
This commit is contained in:
Ryan C. Gordon 2015-05-28 15:29:43 -04:00
parent 9d1a2cb9bf
commit ae904749d0

View file

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