summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/submenu.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/submenu.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/submenu.cpp')
-rw-r--r--src/frontend/mame/ui/submenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/submenu.cpp b/src/frontend/mame/ui/submenu.cpp
index 4721ed87b1c..75c62177a33 100644
--- a/src/frontend/mame/ui/submenu.cpp
+++ b/src/frontend/mame/ui/submenu.cpp
@@ -314,13 +314,13 @@ void submenu::populate()
switch (sm_option->type)
{
case option_type::HEAD:
- item_append(_(sm_option->description), nullptr, FLAG_DISABLE | FLAG_UI_HEADING, nullptr);
+ item_append(_(sm_option->description), "", FLAG_DISABLE | FLAG_UI_HEADING, nullptr);
break;
case option_type::SEP:
item_append(menu_item_type::SEPARATOR);
break;
case option_type::CMD:
- item_append(_(sm_option->description), nullptr, 0, static_cast<void*>(&(*sm_option)));
+ item_append(_(sm_option->description), "", 0, static_cast<void*>(&(*sm_option)));
break;
case option_type::EMU:
case option_type::UI: