* Fix to bug in S_FileExtension (Tr3B)

This commit is contained in:
Tim Angus 2008-01-19 19:06:25 +00:00
parent 7cc9ee4f84
commit 9cc4e0c976

View file

@ -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--;
} }