diff options
| author | Ray <[email protected]> | 2018-04-03 12:43:42 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-04-03 12:43:42 +0200 |
| commit | 9393d1d76f32b9ac1f89710c689928a7b8323b25 (patch) | |
| tree | b30b1e6755bb1235f55dc67621c576cb2725d853 | |
| parent | 533780aadf1ba1b553ef69f191171f6a528ae894 (diff) | |
| parent | fe1c04d1b8732dcf461ad2c62d2fcc61fe5b149c (diff) | |
| download | raylib-9393d1d76f32b9ac1f89710c689928a7b8323b25.tar.gz raylib-9393d1d76f32b9ac1f89710c689928a7b8323b25.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
| -rw-r--r-- | src/core.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1307,12 +1307,7 @@ bool IsFileExtension(const char *fileName, const char *ext) { bool result = false; const char *fileExt; - - if ((fileExt = strrchr(fileName, '.')) != NULL) - { - if (strcmp(fileExt, ext) == 0) result = true; - } - + if ((fileExt = strrchr(fileName, '.')) != NULL) { #if defined(_WIN32) |
