mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
remove length check from ExtractFileBase()
This allows us to load demos with filenames longer than 8 characters.
This commit is contained in:
parent
6be3ec2d9e
commit
51b138b026
@ -67,7 +67,11 @@ void ExtractFileBase(const char *path, char *dest)
|
|||||||
|
|
||||||
while (*src && *src != '.')
|
while (*src && *src != '.')
|
||||||
if (++length == 9)
|
if (++length == 9)
|
||||||
I_Error ("Filename base of %s >8 chars",path);
|
{
|
||||||
|
// [FG] remove length check
|
||||||
|
printf ("Filename base of %s >8 chars",path);
|
||||||
|
break;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
*dest++ = toupper(*src++);
|
*dest++ = toupper(*src++);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user