Browse Source

Remove extra / in PSP GetPrefPath

Wouter Wijsman 3 years ago
parent
commit
6d46e30fed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/filesystem/psp/SDL_sysfilesystem.c

+ 2 - 2
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);