mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
winefile: Don't access uninitialized value.
Spotted by Dan Kegel.
This commit is contained in:
parent
b69592416c
commit
abea9de69b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue