Update rcore.c

This commit is contained in:
oblerion 2024-02-01 14:18:27 +01:00 • committed by GitHub
commit 3658e45a80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;