summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/selector.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/selector.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/selector.cpp')
-rw-r--r--src/emu/ui/selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/selector.cpp b/src/emu/ui/selector.cpp
index af199b1cfe8..7ef7545c685 100644
--- a/src/emu/ui/selector.cpp
+++ b/src/emu/ui/selector.cpp
@@ -149,7 +149,7 @@ void ui_menu_selector::populate()
}
}
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
customtop = custombottom = machine().ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;
m_first_pass = false;
}