Fixed compile error in editor

This commit is contained in:
Dave White 2004-10-27 23:23:02 +00:00
parent 048f8fcf42
commit 089e9886bf

View file

@ -1068,7 +1068,7 @@ void map_editor::show_menu(const std::vector<std::string>& items_arg, const int
}
static const std::string style = "menu2";
const int res = gui::show_dialog(gui_, NULL, "", "", gui::MESSAGE, &menu, NULL, "",
NULL, NULL, NULL, xloc, yloc, &style);
NULL, 256, NULL, NULL, xloc, yloc, &style);
if(res < 0 || (unsigned)res >= items.size())
return;
const hotkey::HOTKEY_COMMAND cmd = hotkey::string_to_command(items[res]);