Fix warning in ncurses_ui.cc

This commit is contained in:
Maxime Coste 2015-10-06 21:15:13 +01:00
parent f45349dee5
commit 5e4443812c

View File

@ -595,9 +595,7 @@ void NCursesUI::draw_menu()
if (not m_menu)
return;
const auto menu_fg = get_color_pair(m_menu_fg);
const auto menu_bg = get_color_pair(m_menu_bg);
wattron(m_menu.win, COLOR_PAIR(menu_bg));
wbkgdset(m_menu.win, COLOR_PAIR(menu_bg));