Update rcore.c
This commit is contained in:
parent
1c80aa32e2
commit
36977d9772
|
|
@ -1949,7 +1949,7 @@ const char *GetFileNameWithoutExt(const char *filePath)
|
||||||
if (filePath != NULL)
|
if (filePath != NULL)
|
||||||
{
|
{
|
||||||
const char *fileName = GetFileName(filePath); // Get filename without path
|
const char *fileName = GetFileName(filePath); // Get filename without path
|
||||||
for (int i = (int)strlen(fileName); i>0; i--) // reverse search
|
for (int i = (int)strlen(fileName); i>0; i--) // Reverse search
|
||||||
{
|
{
|
||||||
if (fileName[i] == '.')
|
if (fileName[i] == '.')
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user