summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index d5f58841..d7cea0be 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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;