From fe1c04d1b8732dcf461ad2c62d2fcc61fe5b149c Mon Sep 17 00:00:00 2001 From: Ray San Date: Tue, 3 Apr 2018 12:42:28 +0200 Subject: Removed old code --- src/core.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/core.c b/src/core.c index 3692845f..e10494c1 100644 --- a/src/core.c +++ b/src/core.c @@ -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) -- cgit v1.2.3