summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/custui.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-29 08:25:53 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-29 08:25:53 -0400
commit78576d09c66b7bfb6d3e6d41c38fc9c059e6cb6b (patch)
tree26985bbde95b6daf823e72a4741a472794629cc3 /src/frontend/mame/ui/custui.cpp
parent89a3bb1a763676f9942533e405372f320b380807 (diff)
C++-ified the strings inside of menu items
Diffstat (limited to 'src/frontend/mame/ui/custui.cpp')
-rw-r--r--src/frontend/mame/ui/custui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/custui.cpp b/src/frontend/mame/ui/custui.cpp
index 6e9a8a0ca6f..74228d3b26b 100644
--- a/src/frontend/mame/ui/custui.cpp
+++ b/src/frontend/mame/ui/custui.cpp
@@ -1043,7 +1043,7 @@ void menu_palette_sel::handle()
{
if (menu_event->iptkey == IPT_UI_SELECT)
{
- m_original = rgb_t((UINT32)strtoul(item[selected].subtext, nullptr, 16));
+ m_original = rgb_t((UINT32)strtoul(item[selected].subtext.c_str(), nullptr, 16));
reset_parent(reset_options::SELECT_FIRST);
menu::stack_pop(machine());
}