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