From eb9960f15b96f797bb65882b0f63857391a98ea0 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Sat, 25 Jun 2005 17:55:15 +0000 Subject: [PATCH] Fix a regression in IE where the Favourites menu didn't appear correctly because the height and width were swapped in the pager control. --- dlls/comctl32/pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c index 7328f6ebb5a..971da4e1b89 100644 --- a/dlls/comctl32/pager.c +++ b/dlls/comctl32/pager.c @@ -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); }