Update rcore.c
This commit is contained in:
parent
02776d450e
commit
5681c3f856
|
|
@ -1950,9 +1950,9 @@ const char *GetFileNameWithoutExt(const char *filePath)
|
||||||
{
|
{
|
||||||
const char *fileName = GetFileName(filePath);
|
const char *fileName = GetFileName(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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user