dlls/comctl32/status.c

Ge van Geldorp gvg at reactos.com
Thu Jan 13 03:21:25 CST 2005


(Previously submitted: http://www.winehq.org/hypermail/wine-patches/2004/12/0017.html)

Changelog:
  Jon Griffiths <jon_p_griffiths at yahoo.com>
  Increase the required rectangle size before drawing big +/-

Index: dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.163
diff -u -r1.163 treeview.c
--- dlls/comctl32/treeview.c	11 Jan 2005 10:39:33 -0000	1.163
+++ dlls/comctl32/treeview.c	13 Jan 2005 09:15:22 -0000
@@ -2345,7 +2345,7 @@
 	    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);



More information about the wine-patches mailing list