From 2e774432090db1be697d2e4e5f49ea91ca038cd3 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 23 Apr 2024 22:55:51 +0200 Subject: [PATCH] WARNING: Fix breaking issue (introduced some days ago) --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 29885c39..b229589f 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -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; }