From 016ac8877b1d1368bac4ef319f2f78b13b5f3d32 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 7 Oct 2004 02:58:57 +0000 Subject: [PATCH] Fix sigsegv when double clicking directory entries. --- programs/winefile/winefile.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 62b3c24abfb..34d13c3264c 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -2645,10 +2645,6 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi 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); -- 2.11.4.GIT