mirror of
https://github.com/holub/mame
synced 2025-06-26 22:29:10 +03:00
Fixed crash in directories configuration. (nw)
This commit is contained in:
parent
440c90486a
commit
9fb7abffef
@ -197,7 +197,7 @@ void menu_display_actual::populate()
|
|||||||
while (path.next(curpath, nullptr))
|
while (path.next(curpath, nullptr))
|
||||||
m_folders.push_back(curpath);
|
m_folders.push_back(curpath);
|
||||||
|
|
||||||
item_append((s_folders[m_ref].action == CHANGE) ? _("Change Folder") : _("Add Folder"), nullptr, 0, (void *)ADD_CHANGE);
|
item_append((s_folders[m_ref].action == CHANGE) ? _("Change Folder") : _("Add Folder"), "", 0, (void *)ADD_CHANGE);
|
||||||
|
|
||||||
if (m_folders.size() > 1)
|
if (m_folders.size() > 1)
|
||||||
item_append(_("Remove Folder"), "", 0, (void *)REMOVE);
|
item_append(_("Remove Folder"), "", 0, (void *)REMOVE);
|
||||||
|
Loading…
Reference in New Issue
Block a user