mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-30 10:03:34 +00:00
WARNING: Fix breaking issue (introduced some days ago)
This commit is contained in:
parent
f15455552d
commit
2e77443209
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user