Skip to content

Commit 2e77443

Browse files
committed
WARNING: Fix breaking issue (introduced some days ago)
1 parent f154555 commit 2e77443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,7 @@ const char *GetFileName(const char *filePath)
19641964

19651965
if (filePath != NULL) fileName = strprbrk(filePath, "\\/");
19661966

1967-
if (fileName != NULL) return filePath;
1967+
if (fileName == NULL) return filePath;
19681968

19691969
return fileName + 1;
19701970
}

0 commit comments

Comments
 (0)