mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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:
parent
de603dba17
commit
0c1c382528
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue