Update rcore.c

This commit is contained in:
oblerion 2024-02-01 14:18:27 +01:00 committed by GitHub
parent 53d34527ff
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); int pos = (int)strlen(fileName);
for(int i = pos; i>0; i--) for(int i = pos; i>0; i--)
{ {
if(filename[i] == '.') if(fileName[i] == '.')
{ {
pos = i; pos = i;
break; break;