Fixed bad non-client calculation.

oldstable
Ulrich Czekalla 2003-05-13 22:05:50 +00:00 committed by Alexandre Julliard
parent 89e2766fc7
commit 535e0f6238
1 changed files with 0 additions and 3 deletions

View File

@ -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",