mirror of
https://github.com/holub/mame
synced 2025-06-24 13:26:36 +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))
|
||||
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)
|
||||
item_append(_("Remove Folder"), "", 0, (void *)REMOVE);
|
||||
|
Loading…
Reference in New Issue
Block a user