Skip to content

Commit

Permalink
WARNING: Fix breaking issue (introduced some days ago)
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Apr 23, 2024
1 parent f154555 commit 2e77443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2e77443

Please sign in to comment.