Remove extra / in PSP GetPrefPath

This commit is contained in:
Wouter Wijsman authored and Sam Lantinga committed 2022-01-05 08:29:35 -08:00
1 parent 33dccbb381
commit 6d46e30fed
1 file changed
+2 -2
+2 -2
View File
@@ -64,9 +64,9 @@ SDL_GetPrefPath(const char *org, const char *app)
retval = (char *) SDL_malloc(len);
if (*org) {
SDL_snprintf(retval, len, "%s/%s/%s/", base, org, app);
SDL_snprintf(retval, len, "%s%s/%s/", base, org, app);
} else {
SDL_snprintf(retval, len, "%s/%s/", base, app);
SDL_snprintf(retval, len, "%s%s/", base, app);
}
free(base);