summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/devopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/devopt.c')
-rw-r--r--src/emu/ui/devopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/devopt.c b/src/emu/ui/devopt.c
index 775e7f64410..3f574673962 100644
--- a/src/emu/ui/devopt.c
+++ b/src/emu/ui/devopt.c
@@ -279,7 +279,7 @@ void ui_menu_device_config::populate()
string.cat("[None]\n");
const_cast<machine_config &>(machine().config()).device_remove(&machine().config().root_device(), m_option->name());
- item_append(string, NULL, MENU_FLAG_MULTILINE, NULL);
+ item_append(string.c_str(), NULL, MENU_FLAG_MULTILINE, NULL);
}
void ui_menu_device_config::handle()