Fix a regression in IE where the Favourites menu didn't appear

correctly because the height and width were swapped in the pager
control.
This commit is contained in:
Robert Shearman 2005-06-25 17:55:15 +00:00 committed by Alexandre Julliard
parent bf7596fd0c
commit eb9960f15b
1 changed files with 2 additions and 2 deletions

View File

@ -1227,9 +1227,9 @@ PAGER_Size (PAGER_INFO* infoPtr, INT type, INT x, INT y)
TRACE("[%p] %d,%d\n", infoPtr->hwndSelf, x, y);
if (infoPtr->dwStyle & PGS_HORZ)
infoPtr->nHeight = x;
infoPtr->nHeight = y;
else
infoPtr->nWidth = y;
infoPtr->nWidth = x;
return PAGER_RecalcSize(infoPtr);
}