summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/filemngr.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/filemngr.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/filemngr.cpp')
-rw-r--r--src/emu/ui/filemngr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/filemngr.cpp b/src/emu/ui/filemngr.cpp
index 6c2cd3894bd..7fbff85217f 100644
--- a/src/emu/ui/filemngr.cpp
+++ b/src/emu/ui/filemngr.cpp
@@ -142,7 +142,7 @@ void ui_menu_file_manager::populate()
if (first_entry)
first_entry = false;
else
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
item_append(string_format("[root%s]", dev->tag()).c_str(), nullptr, 0, nullptr);
tag_appended = true;
}
@@ -153,7 +153,7 @@ void ui_menu_file_manager::populate()
}
}
}
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
item_append("Reset", nullptr, 0, (void *)1);
custombottom = machine().ui().get_line_height() + 3.0f * UI_BOX_TB_BORDER;