summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/custmenu.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-29 20:50:36 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-29 20:50:36 -0400
commita2b07a8969c6b47bf71f0ff13db058327634919e (patch)
treeffe4e86a38dec8d4c3ddfda23e12aa9aea73691c /src/frontend/mame/ui/custmenu.cpp
parent78576d09c66b7bfb6d3e6d41c38fc9c059e6cb6b (diff)
Added a move constructor and got rid of the 'const char *' overload. I had to update a ton of call sites that relied on being able to
pass nullptr. It is inevitable that there are more
Diffstat (limited to 'src/frontend/mame/ui/custmenu.cpp')
-rw-r--r--src/frontend/mame/ui/custmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/ui/custmenu.cpp b/src/frontend/mame/ui/custmenu.cpp
index d293bd1c495..33e940a21b5 100644
--- a/src/frontend/mame/ui/custmenu.cpp
+++ b/src/frontend/mame/ui/custmenu.cpp
@@ -192,10 +192,10 @@ void menu_custom_filter::populate()
item_append(menu_item_type::SEPARATOR);
if (custfltr::numother > 0)
- item_append(_("Remove last filter"), nullptr, 0, (void *)(FPTR)REMOVE_FILTER);
+ item_append(_("Remove last filter"), "", 0, (void *)(FPTR)REMOVE_FILTER);
if (custfltr::numother < MAX_CUST_FILTER - 2)
- item_append(_("Add filter"), nullptr, 0, (void *)(FPTR)ADD_FILTER);
+ item_append(_("Add filter"), "", 0, (void *)(FPTR)ADD_FILTER);
item_append(menu_item_type::SEPARATOR);
customtop = ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
@@ -506,10 +506,10 @@ void menu_swcustom_filter::populate()
item_append(menu_item_type::SEPARATOR);
if (sw_custfltr::numother > 0)
- item_append(_("Remove last filter"), nullptr, 0, (void *)(FPTR)REMOVE_FILTER);
+ item_append(_("Remove last filter"), "", 0, (void *)(FPTR)REMOVE_FILTER);
if (sw_custfltr::numother < MAX_CUST_FILTER - 2)
- item_append(_("Add filter"), nullptr, 0, (void *)(FPTR)ADD_FILTER);
+ item_append(_("Add filter"), "", 0, (void *)(FPTR)ADD_FILTER);
item_append(menu_item_type::SEPARATOR);