summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/filesel.cpp
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-04-15 17:39:45 +0200
committer dankan1890 <mewuidev2@gmail.com>2016-04-15 17:39:45 +0200
commita0715c7c400f1a7e41285a06eef23535fb0afa1d (patch)
tree3779610c4a50f90865452e8325cbaff5d219c881 /src/emu/ui/filesel.cpp
parentedb0904e763a6ff691700b3fb4685583665c497f (diff)
Reduction code for entries of "enum class ui_menu_item_type" and the use of item_append with separators.
Diffstat (limited to 'src/emu/ui/filesel.cpp')
-rw-r--r--src/emu/ui/filesel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/filesel.cpp b/src/emu/ui/filesel.cpp
index 7acab761ea5..73edf1d6483 100644
--- a/src/emu/ui/filesel.cpp
+++ b/src/emu/ui/filesel.cpp
@@ -283,7 +283,7 @@ void ui_menu_file_create::populate()
}
// finish up the menu
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
item_append(_("Create"), nullptr, 0, ITEMREF_CREATE);
customtop = machine().ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
@@ -809,7 +809,7 @@ void ui_menu_select_format::populate()
const floppy_image_format_t *fmt = m_formats[i];
if (i && i == m_ext_match)
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
item_append(fmt->description(), fmt->name(), 0, (void *)(FPTR)i);
}
}