Selaa lähdekoodia

WARNING: Fix breaking issue (introduced some days ago)

Ray 1 vuosi sitten
vanhempi
commit
2e77443209
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 }