diff options
| author | Ray <[email protected]> | 2020-11-01 19:06:21 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-11-01 19:06:21 +0100 |
| commit | 5ac9cb04c2b8b401cea0fc61437bcb5300d02f91 (patch) | |
| tree | 76d5fb4c6e0529cf21bf9fab9a3e58cd904cfb0c /src/raylib.h | |
| parent | 01d9af12f708fe8d439d4c3ddea2ccd279926448 (diff) | |
| download | raylib-5ac9cb04c2b8b401cea0fc61437bcb5300d02f91.tar.gz raylib-5ac9cb04c2b8b401cea0fc61437bcb5300d02f91.zip | |
Reverted ChangeDirectory() redesign
It returns true on success again
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 2dd29d0f..1fb5bb4e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -984,7 +984,7 @@ RLAPI const char *GetPrevDirectoryPath(const char *dirPath); // Get previou RLAPI const char *GetWorkingDirectory(void); // Get current working directory (uses static string) RLAPI char **GetDirectoryFiles(const char *dirPath, int *count); // Get filenames in a directory path (memory should be freed) RLAPI void ClearDirectoryFiles(void); // Clear directory files paths buffers (free memory) -RLAPI void ChangeDirectory(const char *dir); // Change working directory +RLAPI bool ChangeDirectory(const char *dir); // Change working directory, return true on success RLAPI bool IsFileDropped(void); // Check if a file has been dropped into window RLAPI char **GetDroppedFiles(int *count); // Get dropped files names (memory should be freed) RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory) |
