Fix warnings, only major one being an SDL_SetError not providing enough arguments.
This commit is contained in:
parent
ac607be274
commit
d5eb114f44
4 changed files with 4 additions and 4 deletions
|
@ -197,7 +197,7 @@ SDL_GetPrefPath(const char *org, const char *app)
|
|||
}
|
||||
if (mkdir(retval, 0700) != 0 && errno != EEXIST) {
|
||||
error:
|
||||
SDL_SetError("Couldn't create directory '%s': ", retval, strerror(errno));
|
||||
SDL_SetError("Couldn't create directory '%s': '%s'", retval, strerror(errno));
|
||||
SDL_free(retval);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue