Update rcore.c

This commit is contained in:
oblerion 2024-02-03 19:50:13 +01:00 committed by GitHub
parent a64b9f3be9
commit 343fa9db14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1959,6 +1959,7 @@ const char *GetFileNameWithoutExt(const char *filePath)
{ {
if (fileName[i] == '.') if (fileName[i] == '.')
{ {
// NOTE: We break on first '.' found
fileName[i] = '\0'; fileName[i] = '\0';
break; break;
} }