Christoph Mallon: Simplify avoidance of duplicate / in SDL_GetPrefPath()
Christoph Mallon: Remove lone /* if */ comment.
Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed.
Christoph Mallon: Simplify assignment.
Christoph Mallon: Use SDL_arraysize()
Christoph Mallon: Correct indendation.
Christoph Mallon: Remove pointless if (x) before SDL_free(x)
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).