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:
parent
bf7596fd0c
commit
eb9960f15b
|
@ -1227,9 +1227,9 @@ PAGER_Size (PAGER_INFO* infoPtr, INT type, INT x, INT y)
|
||||||
TRACE("[%p] %d,%d\n", infoPtr->hwndSelf, x, y);
|
TRACE("[%p] %d,%d\n", infoPtr->hwndSelf, x, y);
|
||||||
|
|
||||||
if (infoPtr->dwStyle & PGS_HORZ)
|
if (infoPtr->dwStyle & PGS_HORZ)
|
||||||
infoPtr->nHeight = x;
|
infoPtr->nHeight = y;
|
||||||
else
|
else
|
||||||
infoPtr->nWidth = y;
|
infoPtr->nWidth = x;
|
||||||
|
|
||||||
return PAGER_RecalcSize(infoPtr);
|
return PAGER_RecalcSize(infoPtr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue