From 36977d9772059e4caf771846234052227dc08e0c Mon Sep 17 00:00:00 2001 From: oblerion <82583559+oblerion@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:06:36 +0100 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 696a1a058..1d004372e 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1949,7 +1949,7 @@ const char *GetFileNameWithoutExt(const char *filePath) if (filePath != NULL) { const char *fileName = GetFileName(filePath); // Get filename without path - for (int i = (int)strlen(fileName); i>0; i--) // reverse search + for (int i = (int)strlen(fileName); i>0; i--) // Reverse search { if (fileName[i] == '.') {