Fix sigsegv when double clicking directory entries.

This commit is contained in:
Martin Fuchs 2004-10-07 02:58:57 +00:00 committed by Alexandre Julliard
parent 68604dbae7
commit 016ac8877b
1 changed files with 0 additions and 4 deletions

View File

@ -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);