Browse Source

WARNING: Fix breaking issue (introduced some days ago)

Ray 1 năm trước cách đây
mục cha
commit
2e77443209
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }