remove unnecessary paint code Modified: trunk/reactos/subsys/system/winefile/winefile.c _____
Modified: trunk/reactos/subsys/system/winefile/winefile.c --- trunk/reactos/subsys/system/winefile/winefile.c 2005-06-12 09:14:12 UTC (rev 15864) +++ trunk/reactos/subsys/system/winefile/winefile.c 2005-06-12 09:17:06 UTC (rev 15865) @@ -3153,13 +3153,7 @@
#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); */