mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
WARNING: Fix breaking issue (introduced some days ago)
This commit is contained in:
@@ -1964,7 +1964,7 @@ const char *GetFileName(const char *filePath)
|
|||||||
|
|
||||||
if (filePath != NULL) fileName = strprbrk(filePath, "\\/");
|
if (filePath != NULL) fileName = strprbrk(filePath, "\\/");
|
||||||
|
|
||||||
if (fileName != NULL) return filePath;
|
if (fileName == NULL) return filePath;
|
||||||
|
|
||||||
return fileName + 1;
|
return fileName + 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user