- Properly sync wine menu code. Attempt to fix CORE-11892.

svn path=/trunk/; revision=72439
This commit is contained in:
James Tabor 2016-08-23 16:33:44 +00:00
parent df8d9cbd28
commit cf7c648a68

View file

@ -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);