summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/filemngr.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-16 12:24:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-16 14:54:42 +0100
commit1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch)
tree49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/emu/ui/filemngr.cpp
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
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 d277d0bd847..de32d25d2db 100644
--- a/src/emu/ui/filemngr.cpp
+++ b/src/emu/ui/filemngr.cpp
@@ -130,7 +130,7 @@ void ui_menu_file_manager::populate()
for (device_image_interface *scan = subiterator.first(); scan != nullptr; scan = subiterator.next())
{
// if it is a children device, and not something further down the device tree, we want it in the menu!
- if (strcmp(scan->device().owner()->tag(), dev->tag()) == 0)
+ if (scan->device().owner()->tag() == dev->tag())
if (devtags.insert(scan->device().tag()).second)
{
// check whether we already had some devices with the same owner: if not, output the owner tag!
@@ -140,7 +140,7 @@ void ui_menu_file_manager::populate()
first_entry = false;
else
item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
- strprintf(buffer, "[root%s]", dev->tag());
+ strprintf(buffer, "[root%s]", dev->tag().c_str());
item_append(buffer.c_str(), nullptr, 0, nullptr);
tag_appended = true;
}