Skip to content
Permalink
Browse files

Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer…

… size.
  • Loading branch information
icculus committed May 28, 2015
1 parent f9abea2 commit 566316e0521f02ba1f7e60fca426db8ea2de4389
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/filesystem/windows/SDL_sysfilesystem.c
@@ -72,7 +72,7 @@ SDL_GetBasePath(void)

/* buffer too small? Try again. */
SDL_free(path);
len *= 2;
buflen *= 2;
}

FreeLibrary(psapi);

0 comments on commit 566316e

Please sign in to comment.