The system menu is allowed to have an unnamed entry which is not a separator
Modified: trunk/reactos/subsys/win32k/ntuser/menu.c
--- trunk/reactos/subsys/win32k/ntuser/menu.c 2005-09-11 17:47:00 UTC (rev 17803) +++ trunk/reactos/subsys/win32k/ntuser/menu.c 2005-09-11 17:59:52 UTC (rev 17804) @@ -824,7 +824,10 @@
} else {
- MenuItem->fType |= MF_SEPARATOR;
+ if (0 == (MenuObject->MenuInfo.Flags & MF_SYSMENU))
+ {
+ MenuItem->fType |= MF_SEPARATOR;
+ }
RtlInitUnicodeString(&MenuItem->Text, NULL); } }