From f1c72419b600238a08b040bd20ca305a2d2fd608 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Oct 2007 20:10:43 +0000 Subject: [PATCH] fixed topmenus bug --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401601 --- extensions/topmenus/TopMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/topmenus/TopMenu.cpp b/extensions/topmenus/TopMenu.cpp index 849b5a9f..1d9581d9 100644 --- a/extensions/topmenus/TopMenu.cpp +++ b/extensions/topmenus/TopMenu.cpp @@ -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);