[ros-diffs] [gvg] 17804: The system menu is allowed to have an
unnamed entry which is not a separator
gvg at svn.reactos.com
gvg at svn.reactos.com
Sun Sep 11 20:00:03 CEST 2005
The system menu is allowed to have an unnamed entry which is not a
separator
Modified: trunk/reactos/subsys/win32k/ntuser/menu.c
_____
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);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050911/caedb19d/attachment.html
More information about the Ros-diffs
mailing list