2nd follow-up to alternative fix for menu search (':')

This commit is contained in:
nhmall
2023-11-17 14:13:58 -05:00
parent b3024c3c6c
commit d7ed474fa7
4 changed files with 25 additions and 6 deletions

View File

@@ -1679,6 +1679,17 @@ get_menu_coloring(const char *str, int *color, int *attr)
return FALSE;
}
int select_menu(winid window, int how, menu_item **menu_list)
{
int reslt;
boolean old_bot_disabled = gb.bot_disabled;
gb.bot_disabled = TRUE;
reslt = (*windowprocs.win_select_menu)(window, how, menu_list);
gb.bot_disabled = old_bot_disabled;
return reslt;
}
void
getlin(const char *query, register char *bufp)
{