From 535e0f6238a6323a968e6e0911b6793791dbd9dd Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Tue, 13 May 2003 22:05:50 +0000 Subject: [PATCH] Fixed bad non-client calculation. --- dlls/comctl32/pager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c index 6a239e67f83..f52a1f4ec27 100644 --- a/dlls/comctl32/pager.c +++ b/dlls/comctl32/pager.c @@ -998,9 +998,6 @@ PAGER_NCCalcSize(HWND hwnd, WPARAM wParam, LPARAM lParam) lpRect->top += infoPtr->nButtonSize; if (infoPtr->BRbtnState && (lpRect->bottom - infoPtr->nButtonSize > lpRect->top)) lpRect->bottom -= infoPtr->nButtonSize; - /* ???? */ - if ((lpRect->bottom < 0) || (lpRect->bottom > infoPtr->nHeight)) - lpRect->bottom = infoPtr->nHeight; } TRACE("[%p] client rect set to %ldx%ld at (%ld,%ld) BtnState[%d,%d]\n",