mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
pluginopt: fix separator (nw)
This commit is contained in:
parent
e7755e4743
commit
a4a0d462ed
@ -106,7 +106,13 @@ void menu_plugin_opt::populate()
|
||||
else if(item.flags == "lr")
|
||||
flags = FLAG_RIGHT_ARROW | FLAG_LEFT_ARROW;
|
||||
|
||||
item_append(item.text, item.subtext, flags, (void *)i++);
|
||||
if(item.text == "---")
|
||||
{
|
||||
item_append(menu_item_type::SEPARATOR);
|
||||
i++;
|
||||
}
|
||||
else
|
||||
item_append(item.text, item.subtext, flags, (void *)i++);
|
||||
}
|
||||
item_append(menu_item_type::SEPARATOR);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user