Skip to content

Commit

Permalink
Windows SDL_GetBasePath: Fixed wrong variable when growing the buffer…
Browse files Browse the repository at this point in the history
… size.
  • Loading branch information
icculus committed May 28, 2015
1 parent f9abea2 commit 566316e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/windows/SDL_sysfilesystem.c
Expand Up @@ -72,7 +72,7 @@ SDL_GetBasePath(void)

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

FreeLibrary(psapi);
Expand Down

0 comments on commit 566316e

Please sign in to comment.