Remove unnecessary duplicate call to Wimp_OpenMenu.

svn path=/trunk/netsurf/; revision=13153
This commit is contained in:
Steve Fryatt 2011-11-20 13:26:21 +00:00
parent adee564201
commit 81e596a070
1 changed files with 0 additions and 8 deletions

View File

@ -268,14 +268,6 @@ bool ro_gui_search_prepare_menu(void)
recent_search_menu->entries[suggestions - 1].menu_flags |=
wimp_MENU_LAST;
if ((current_menu_open) && (current_menu == recent_search_menu)) {
error = xwimp_create_menu(current_menu, 0, 0);
if (error) {
LOG(("xwimp_create_menu: 0x%x: %s",
error->errnum, error->errmess));
warn_user("MenuError", error->errmess);
}
}
return true;
}