diff options
| author | Ray San <raysan5@gmail.com> | 2018-04-03 12:42:28 +0200 |
|---|---|---|
| committer | Ray San <raysan5@gmail.com> | 2018-04-03 12:42:28 +0200 |
| commit | fe1c04d1b8732dcf461ad2c62d2fcc61fe5b149c (patch) | |
| tree | 32c05e53fe9bfcb13eef7fd7fbdc479ad73d6290 /src | |
| parent | 0c0ff2802ea1bc260b563bb9ed871d324389757d (diff) | |
| download | raylib-fe1c04d1b8732dcf461ad2c62d2fcc61fe5b149c.tar.gz raylib-fe1c04d1b8732dcf461ad2c62d2fcc61fe5b149c.zip | |
Removed old code
Diffstat (limited to 'src')
| -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) |
