diff options
| author | Ray <[email protected]> | 2021-03-02 01:07:08 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-02 01:07:08 +0100 |
| commit | bcc4418ff05fa0e06c1a539bcbbc3a5c62b3751a (patch) | |
| tree | 46faff440f4c6d35cc33b1bc8084aa17f71ca9fe /src/raylib.h | |
| parent | 2ff5fa73e9a4745aa1cc37a4e5be05c841778200 (diff) | |
| download | raylib-bcc4418ff05fa0e06c1a539bcbbc3a5c62b3751a.tar.gz raylib-bcc4418ff05fa0e06c1a539bcbbc3a5c62b3751a.zip | |
REVIEWED: GetFileExtension() to include the dot #1523
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 2bd62ae1..21597738 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -998,7 +998,7 @@ RLAPI bool SaveFileText(const char *fileName, char *text); // Save text d RLAPI bool FileExists(const char *fileName); // Check if file exists RLAPI bool DirectoryExists(const char *dirPath); // Check if a directory path exists RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension (including point: .png, .wav) -RLAPI const char *GetFileExtension(const char *fileName); // Get pointer to extension for a filename string (including point: ".png") +RLAPI const char *GetFileExtension(const char *fileName); // Get pointer to extension for a filename string (includes dot: ".png") RLAPI const char *GetFileName(const char *filePath); // Get pointer to filename for a path string RLAPI const char *GetFileNameWithoutExt(const char *filePath); // Get filename string without extension (uses static string) RLAPI const char *GetDirectoryPath(const char *filePath); // Get full path for a given fileName with path (uses static string) |
