dxx-rebirth/common/ui
Kp 1789643480 Remove UserError on unknown MED function
Jayman2000 reports that users who do not update their MED.MNU after
updating to 8b61b9f ("Remove unused symbols") receive an "editor crash"
on startup.  This is not a crash, but instead is poor error handling in
menubar.cpp, which calls UserError instead of ignoring the offending
line.  Calls to UserError are fatal, but do not crash the program.
Replace that call with a con_printf(CON_URGENT) and ignore the line.

Additionally, change the handling for excess menus and for excess menu
items to con_printf+ignore instead of UserError.

Reported-by: Jayman2000 <https://github.com/dxx-rebirth/dxx-rebirth/pull/190>
Fixes: 8b61b9f0db ("Remove unused symbols")
2016-04-03 17:50:42 +00:00
..
button.cpp Remove cv_color 2016-02-12 04:02:28 +00:00
checkbox.cpp
dialog.cpp
file.cpp
gadget.cpp
icon.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
inputbox.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
keypad.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
keypress.cpp
listbox.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
menu.cpp Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
menubar.cpp Remove UserError on unknown MED function 2016-04-03 17:50:42 +00:00
message.cpp Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
radio.cpp
scroll.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
ui.cpp
uidraw.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00
userbox.cpp Remove unnecessary gr_setcolor calls 2016-02-12 04:02:28 +00:00