mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 16:54:24 +00:00
Add trailing path separator to SDL_GetUserFolder()
This commit is contained in:
@@ -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().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user