diff options
author | 2016-01-20 21:42:13 +0100 | |
---|---|---|
committer | 2016-01-20 21:42:13 +0100 | |
commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/emu/ui/filemngr.cpp | |
parent | 3a8ccb89b426509be06089a19c51ecf55567ed1b (diff) |
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa
* 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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/filemngr.cpp b/src/emu/ui/filemngr.cpp index de32d25d2db..d277d0bd847 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 (scan->device().owner()->tag() == dev->tag()) + if (strcmp(scan->device().owner()->tag(), dev->tag()) == 0) 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().c_str()); + strprintf(buffer, "[root%s]", dev->tag()); item_append(buffer.c_str(), nullptr, 0, nullptr); tag_appended = true; } |