mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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
1 changed files with 1 additions and 1 deletions
|
@ -2596,7 +2596,7 @@ static void FASTCALL MENU_DrawPopupMenu(PWND wnd, HDC hdc, PMENU menu )
|
|||
UINT u;
|
||||
|
||||
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->cyMenu, FALSE, ODA_DRAWENTIRE);
|
||||
|
|
Loading…
Reference in a new issue