Increase the required rectangle size before drawing big +/-.

This commit is contained in:
Jon Griffiths 2005-01-14 15:13:24 +00:00 committed by Alexandre Julliard
parent b28c79aa50
commit ae720e6d7c
1 changed files with 1 additions and 1 deletions

View File

@ -2345,7 +2345,7 @@ TREEVIEW_DrawItemLines(TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *item)
SelectObject(hdc, hOldPen);
DeleteObject(hNewPen);
if (height < 16 || width < 16)
if (height < 18 || width < 18)
{
MoveToEx(hdc, centerx - plussize + 1, centery, NULL);
LineTo(hdc, centerx + plussize, centery);