mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
Fix sigsegv when double clicking directory entries.
This commit is contained in:
parent
68604dbae7
commit
016ac8877b
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue