fixed close button

svn path=/trunk/; revision=7879
This commit is contained in:
Thomas Bluemel 2004-01-26 09:32:17 +00:00
parent a5ea007a53
commit 9d9f3772f6

View file

@ -922,8 +922,8 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
*/
POINT start, oldPos;
INT width = myr.right - myr.left - 5;
INT height = myr.bottom - myr.top - 6;
INT width = myr.right - (++myr.left) - 5;
INT height = (--myr.bottom) - myr.top - 6;
INT numLines = (width / 6) + 1;
hpsave = (HPEN)SelectObject(dc, GetSysColorPen(colorIdx));