diff options
| author | hristo <[email protected]> | 2021-03-03 16:41:15 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-03 15:41:15 +0100 |
| commit | 81908f7960005e35a50d0675e970483989cd7ff2 (patch) | |
| tree | 391b6bb84a0b608a09f08616e10fb3120f068707 /src | |
| parent | e09f5179e6ff876ecccc5a74e929c055b07d8b98 (diff) | |
| download | raylib-81908f7960005e35a50d0675e970483989cd7ff2.tar.gz raylib-81908f7960005e35a50d0675e970483989cd7ff2.zip | |
Removing +1 on comparing extesnions because this way it checked the file extension without the . against the file extension with the . resulting in always false. (#1629)
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2325,7 +2325,7 @@ bool IsFileExtension(const char *fileName, const char *ext) for (int i = 0; i < extCount; i++) { - if (TextIsEqual(fileExtLower, TextToLower(checkExts[i] + 1))) + if (TextIsEqual(fileExtLower, TextToLower(checkExts[i]))) { result = true; break; |
