mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
Remove extra / in PSP GetPrefPath
This commit is contained in:

committed by
Sam Lantinga

parent
33dccbb381
commit
6d46e30fed
@@ -64,9 +64,9 @@ SDL_GetPrefPath(const char *org, const char *app)
|
|||||||
retval = (char *) SDL_malloc(len);
|
retval = (char *) SDL_malloc(len);
|
||||||
|
|
||||||
if (*org) {
|
if (*org) {
|
||||||
SDL_snprintf(retval, len, "%s/%s/%s/", base, org, app);
|
SDL_snprintf(retval, len, "%s%s/%s/", base, org, app);
|
||||||
} else {
|
} else {
|
||||||
SDL_snprintf(retval, len, "%s/%s/", base, app);
|
SDL_snprintf(retval, len, "%s%s/", base, app);
|
||||||
}
|
}
|
||||||
free(base);
|
free(base);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user