mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
0a682a76d6
commit
ca258deb83
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue