Fix a bad read.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5924 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c71a4f8587
commit
72952c6467
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ static void M_Menu_Preset_Predraw(emenu_t *menu)
|
|||
}
|
||||
else if (!filtering)
|
||||
{
|
||||
if (op->check.var == &cfg_save_auto)
|
||||
if (op->common.type == mt_checkbox && op->check.var == &cfg_save_auto)
|
||||
filtering = true;
|
||||
}
|
||||
else if(op->common.type == mt_checkbox||
|
||||
|
|
Loading…
Reference in a new issue