From bef9eaff74cb6d0c89540f10d03d1e65fc5751cb Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 12 Jun 2005 09:17:06 +0000 Subject: [PATCH] remove unnecessary paint code svn path=/trunk/; revision=15865 --- reactos/subsys/system/winefile/winefile.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/reactos/subsys/system/winefile/winefile.c b/reactos/subsys/system/winefile/winefile.c index fe9c4c742c4..db546e6652d 100644 --- a/reactos/subsys/system/winefile/winefile.c +++ b/reactos/subsys/system/winefile/winefile.c @@ -3153,13 +3153,7 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi #endif ) 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, 0); - LineTo(dis->hDC, x, dis->rcItem.bottom); - } -*/ + SelectClipRgn(dis->hDC, hrgn_org); if (hrgn_org) DeleteObject(hrgn_org); /* SelectObject(dis->hDC, holdPen); */