winefile: Don't access uninitialized value.
Spotted by Dan Kegel.
This commit is contained in:
parent
b69592416c
commit
abea9de69b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue