Update rcore.c

This commit is contained in:
oblerion 2024-02-01 14:36:50 +01:00 committed by GitHub
parent 02776d450e
commit 5681c3f856
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1950,9 +1950,9 @@ const char *GetFileNameWithoutExt(const char *filePath)
{
const char *fileName = GetFileName(filePath);
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;
break;