1
0
Fork 0
forked from fte/fteqw

Fixed a harmless Valgrind hit. (I think. I don't actually remember this change :)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2672 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-09-22 19:29:24 +00:00
parent 0a682a76d6
commit ca258deb83

View file

@ -496,7 +496,7 @@ void SV_Map_f (void)
if (!COM_FCheckExists (expanded))
{
//doesn't exist, so try lowercase. Q3 does this.
for (i = 0; i < sizeof(level); i++)
for (i = 0; i < sizeof(level) && level[i]; i++)
{
if (level[i] >= 'A' && level[i] <= 'Z')
level[i] = level[i] - 'A' + 'a';