fixed topmenus bug

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401601
This commit is contained in:
David Anderson 2007-10-16 20:10:43 +00:00
parent 54febbbc48
commit f1c72419b6

View File

@ -963,7 +963,7 @@ SMCParseResult TopMenu::ReadSMC_NewSection(const char *name, bool opt_quotes)
ignore_parse_level = 1;
}
}
else if (current_parse_state = PARSE_STATE_MAIN)
else if (current_parse_state == PARSE_STATE_MAIN)
{
cur_cat = new config_category_t;
cur_cat->name = m_Config.strings.AddString(name);