Merge commit '643f9e56d03d8be9adf774c4931fe95742225006' into main

This commit is contained in:
Sam Lantinga 2022-07-05 21:41:19 -07:00
commit b0c9139783
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ main(int argc, char *argv[])
SDL_free(base_path); SDL_free(base_path);
} }
pref_path = SDL_GetPrefPath("libsdl", "testfilesystem"); pref_path = SDL_GetPrefPath("libsdl", "test_filesystem");
if(pref_path == NULL){ if(pref_path == NULL){
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't find pref path: %s\n", SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't find pref path: %s\n",
SDL_GetError()); SDL_GetError());
@ -46,7 +46,7 @@ main(int argc, char *argv[])
SDL_free(pref_path); SDL_free(pref_path);
} }
pref_path = SDL_GetPrefPath(NULL, "testfilesystem"); pref_path = SDL_GetPrefPath(NULL, "test_filesystem");
if(pref_path == NULL){ if(pref_path == NULL){
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't find pref path without organization: %s\n", SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't find pref path without organization: %s\n",
SDL_GetError()); SDL_GetError());