Update rcore.c

This commit is contained in:
oblerion 2024-02-01 14:36:50 +01:00 • committed by GitHub
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;