mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
The system menu is allowed to have an unnamed entry which is not a separator
svn path=/trunk/; revision=17804
This commit is contained in:
@@ -824,7 +824,10 @@ IntSetMenuItemInfo(PMENU_OBJECT MenuObject, PMENU_ITEM MenuItem, PROSMENUITEMINF
|
||||
}
|
||||
else
|
||||
{
|
||||
MenuItem->fType |= MF_SEPARATOR;
|
||||
if (0 == (MenuObject->MenuInfo.Flags & MF_SYSMENU))
|
||||
{
|
||||
MenuItem->fType |= MF_SEPARATOR;
|
||||
}
|
||||
RtlInitUnicodeString(&MenuItem->Text, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user