Commit 887b445b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winefile: Use SetRectEmpty() instead of open coding it.

parent a58822db
......@@ -2417,10 +2417,7 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
dis.itemState = 0;
dis.hwndItem = pane->hwnd;
dis.hDC = hdc;
dis.rcItem.left = 0;
dis.rcItem.top = 0;
dis.rcItem.right = 0;
dis.rcItem.bottom = 0;
SetRectEmpty(&dis.rcItem);
/*dis.itemData = 0; */
draw_item(pane, &dis, entry, COLUMNS);
......@@ -2493,10 +2490,7 @@ static void calc_single_width(Pane* pane, int col)
dis.itemState = 0;
dis.hwndItem = pane->hwnd;
dis.hDC = hdc;
dis.rcItem.left = 0;
dis.rcItem.top = 0;
dis.rcItem.right = 0;
dis.rcItem.bottom = 0;
SetRectEmpty(&dis.rcItem);
/*dis.itemData = 0; */
draw_item(pane, &dis, entry, col);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment