mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
527e3ee7a0
commit
5f2f91725a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue