From 6d46e30fede784cd3fdeadb8bc6ea2af9e7537f8 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Wed, 5 Jan 2022 14:31:31 +0100 Subject: [PATCH] Remove extra / in PSP GetPrefPath --- src/filesystem/psp/SDL_sysfilesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filesystem/psp/SDL_sysfilesystem.c b/src/filesystem/psp/SDL_sysfilesystem.c index 626cdccbb..b5bfc141a 100644 --- a/src/filesystem/psp/SDL_sysfilesystem.c +++ b/src/filesystem/psp/SDL_sysfilesystem.c @@ -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);