!SkinCustomMenu allow for separators

This commit is contained in:
Brian Ferguson 2014-02-13 09:42:37 -07:00
parent 57e6787b71
commit f74dba0c03

View File

@ -500,8 +500,15 @@ void ContextMenu::AppendSkinCustomMenu(
{ {
if (isTitleSeparator(cTitles[i])) if (isTitleSeparator(cTitles[i]))
{ {
// Separators not allowed in main top-level menu if (standaloneMenu)
--position; {
AppendMenu(menu, MF_BYPOSITION | MF_SEPARATOR, 0, nullptr);
}
else
{
// Separators not allowed in main top-level menu
--position;
}
} }
else else
{ {