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] == '.') {