Pārlūkot izejas kodu

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)

pull/1635/head
hristo pirms 3 gadiem
committed by GitHub
vecāks
revīzija
81908f7960
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Parādīt failu

@ -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;

Notiek ielāde…
Atcelt
Saglabāt