Procházet zdrojové kódy

WARNING: Fix breaking issue (introduced some days ago)

Ray před 1 rokem
rodič
revize
2e77443209
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/rcore.c

+ 1 - 1
src/rcore.c

@@ -1964,7 +1964,7 @@ const char *GetFileName(const char *filePath)
 
     if (filePath != NULL) fileName = strprbrk(filePath, "\\/");
 
-    if (fileName != NULL) return filePath;
+    if (fileName == NULL) return filePath;
 
     return fileName + 1;
 }