aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c7
1 files changed, 1 insertions, 6 deletions
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)