Fixed bad non-client calculation.
This commit is contained in:
parent
89e2766fc7
commit
535e0f6238
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue