Update rcore.c

This commit is contained in:
oblerion 2024-02-01 15:06:36 +01:00 committed by GitHub
parent 1c80aa32e2
commit 36977d9772
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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