winefile: remove unnecessary paint code

Martin Fuchs martin-fuchs at gmx.net
Sun Jun 12 04:18:04 CDT 2005


Changelog:
remove unnecessary paint code


Index: winefile.c
===================================================================
RCS file: /home/wine/wine/programs/winefile/winefile.c,v
retrieving revision 1.51
diff -u -p -d -r1.51 winefile.c
--- winefile.c	10 Jun 2005 19:32:24 -0000	1.51
+++ winefile.c	12 Jun 2005 09:17:39 -0000
@@ -3089,12 +3089,6 @@ static void draw_item(Pane* pane, LPDRAW
 					)
 					LineTo(dis->hDC, x, dis->rcItem.bottom);
 
-				if (entry->down && entry->expanded) {
-					x += IMAGE_WIDTH+TREE_LINE_DX;
-					MoveToEx(dis->hDC, x, dis->rcItem.top+IMAGE_HEIGHT+2, 0);
-					LineTo(dis->hDC, x, dis->rcItem.bottom);
-				}
-
 				SelectClipRgn(dis->hDC, hrgn_org);
 				if (hrgn_org) DeleteObject(hrgn_org);
 				/* SelectObject(dis->hDC, holdPen); */






More information about the wine-patches mailing list