Commit abea9de6 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

winefile: Don't access uninitialized value.

Spotted by Dan Kegel.
parent b6959241
......@@ -2708,7 +2708,7 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
SendMessage(pane->hwnd, LB_SETHORIZONTALEXTENT, x, 0);
/* no change? */
if (!memcmp(orgWidths, pane->widths, sizeof(orgWidths)))
if (!anyway && !memcmp(orgWidths, pane->widths, sizeof(orgWidths)))
return FALSE;
/* don't move, if only collapsing an entry */
......
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