mirror of
https://github.com/reactos/reactos.git
synced 2024-10-08 02:13:56 +00:00
[NtUser]
- Properly sync wine menu code. Attempt to fix CORE-11892. svn path=/trunk/; revision=72439
This commit is contained in:
parent
df8d9cbd28
commit
cf7c648a68
|
@ -2596,7 +2596,7 @@ static void FASTCALL MENU_DrawPopupMenu(PWND wnd, HDC hdc, PMENU menu )
|
||||||
UINT u;
|
UINT u;
|
||||||
|
|
||||||
item = menu->rgItems;
|
item = menu->rgItems;
|
||||||
for (u = 0; u < menu->cItems; u++, item++)
|
for( u = menu->cItems; u > 0; u--, item++)
|
||||||
{
|
{
|
||||||
MENU_DrawMenuItem(wnd, menu, menu->spwndNotify, hdc, item,
|
MENU_DrawMenuItem(wnd, menu, menu->spwndNotify, hdc, item,
|
||||||
menu->cyMenu, FALSE, ODA_DRAWENTIRE);
|
menu->cyMenu, FALSE, ODA_DRAWENTIRE);
|
||||||
|
|
Loading…
Reference in a new issue