fixed default optimisations..

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@237 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-22 15:31:19 +00:00
parent 527e3ee7a0
commit 5f2f91725a

View file

@ -2188,13 +2188,17 @@ void QCC_PR_CommandLinePrecompilerOptions (void)
}
else if (!strnicmp(myargv[i]+2, "no-", 3))
{
if (!myargv[i][5])
if (myargv[i][5])
{
for (p = 0; optimisations[p].enabled; p++)
{
if ((*optimisations[p].abbrev && !stricmp(myargv[i]+5, optimisations[p].abbrev)) || !stricmp(myargv[i]+5, optimisations[p].fullname))
{
*optimisations[p].enabled = false;
break;
}
}
}
}
else
{