From 3658e45a80b449d27d7846bdaafc811da1a7e948 Mon Sep 17 00:00:00 2001 From: oblerion <82583559+oblerion@users.noreply.github.com> Date: Thu, 1 Feb 2024 14:18:27 +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 9c1947b62..62f3938a0 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1950,7 +1950,7 @@ const char *GetFileNameWithoutExt(const char *filePath) int pos = (int)strlen(fileName); for(int i = pos; i>0; i--) { - if(filename[i] == '.') + if(fileName[i] == '.') { pos = i; break;