diff options
author | 2016-04-15 17:39:45 +0200 | |
---|---|---|
committer | 2016-04-15 17:39:45 +0200 | |
commit | a0715c7c400f1a7e41285a06eef23535fb0afa1d (patch) | |
tree | 3779610c4a50f90865452e8325cbaff5d219c881 /src/emu/ui/ui.cpp | |
parent | edb0904e763a6ff691700b3fb4685583665c497f (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/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index 718e73bb9ef..2ad16e99f0c 100644 --- a/src/emu/ui/ui.cpp +++ b/src/emu/ui/ui.cpp @@ -2048,7 +2048,7 @@ std::vector<ui_menu_item> ui_manager::slider_init(running_machine &machine) item.subtext = ""; item.flags = 0; item.ref = slider; - item.type = ui_menu_item_type::UI_MENU_ITEM_TYPE_SLIDER; + item.type = ui_menu_item_type::SLIDER; items.push_back(item); } |