winefile: fix GPF
Martin Fuchs
martin-fuchs at gmx.net
Wed Oct 6 04:06:17 CDT 2004
Changelog
fix sigsegv when double clicking directory entries
Piotr - may I ask what was the intend of this change at the 27.09.2004 ?
Index: winefile.c
===================================================================
RCS file: /home/wine/wine/programs/winefile/winefile.c,v
retrieving revision 1.20
diff -u -p -d -r1.20 winefile.c
--- winefile.c 27 Sep 2004 20:35:53 -0000 1.20
+++ winefile.c 6 Oct 2004 08:58:06 -0000
@@ -2643,10 +2643,6 @@ static void draw_item(Pane* pane, LPDRAW
hbrush = CreateSolidBrush(bkcolor);
FillRect(dis->hDC, &focusRect, hbrush);
- if (entry->down && entry->expanded) {
- MoveToEx(dis->hDC, img_pos + IMAGE_WIDTH/2 + TREE_LINE_DX, dis->rcItem.top+IMAGE_HEIGHT+2, 0);
- LineTo(dis->hDC, img_pos + IMAGE_WIDTH/2 + TREE_LINE_DX, dis->rcItem.bottom);
- }
DeleteObject(hbrush);
SetBkMode(dis->hDC, TRANSPARENT);
More information about the wine-patches
mailing list