mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 02:08:14 +00:00
Removing +1 on comparing extesnions because this way it checked the file extension without the . against the file extension with the . resulting in always false. (#1629)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user