summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/cheatopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/cheatopt.c')
-rw-r--r--src/emu/ui/cheatopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/cheatopt.c b/src/emu/ui/cheatopt.c
index 7737e2dca4e..b14ae03a963 100644
--- a/src/emu/ui/cheatopt.c
+++ b/src/emu/ui/cheatopt.c
@@ -115,7 +115,7 @@ void ui_menu_cheat::populate()
{
UINT32 flags;
curcheat->menu_text(text, subtext, flags);
- item_append(text, subtext, flags, curcheat);
+ item_append(text.c_str(), subtext.c_str(), flags, curcheat);
}
/* add a separator */