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…
Reference in New Issue
Block a user