mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix to bug in S_FileExtension (Tr3B)
This commit is contained in:
parent
7cc9ee4f84
commit
9cc4e0c976
1 changed files with 3 additions and 0 deletions
|
@ -41,7 +41,10 @@ static char *S_FileExtension(const char *fni)
|
||||||
while(*fn != '/' && fn != fni)
|
while(*fn != '/' && fn != fni)
|
||||||
{
|
{
|
||||||
if(*fn == '.')
|
if(*fn == '.')
|
||||||
|
{
|
||||||
eptr = fn;
|
eptr = fn;
|
||||||
|
break;
|
||||||
|
}
|
||||||
fn--;
|
fn--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue