Add trailing path separator to SDL_GetUserFolder()

This commit is contained in:
Semphris
2024-04-30 16:57:17 -04:00
committed by Sam Lantinga
parent 97d0e78842
commit b9d3d746a0
8 changed files with 74 additions and 15 deletions

View File

@@ -224,6 +224,9 @@ typedef enum SDL_Folder
* Note that the function is expensive, and should be called once at the
* beginning of the execution and kept for as long as needed.
*
* The returned path is guaranteed to end with a path separator ('\\' on
* Windows, '/' on most other platforms).
*
* The returned value is owned by the caller and should be freed with
* SDL_free().
*