mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed close button
svn path=/trunk/; revision=7879
This commit is contained in:
parent
a5ea007a53
commit
9d9f3772f6
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue