diff options
author | Sampo Savolainen <v2@iki.fi> | 2006-05-24 22:43:15 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2006-05-24 22:43:15 +0000 |
commit | ce6c41c060c700489a9ac9fc5080bf2920c17ae2 (patch) | |
tree | 437841dddf329b9b4d92177a6a49e3569188214a /gtk2_ardour/audio_time_axis.cc | |
parent | 21704435b1619b299b790ef1a3138b180dd375c5 (diff) |
Fixed some valgrind errors from using uninitialized variables in
conditionals.
git-svn-id: svn://localhost/trunk/ardour2@532 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 18586caed9..b225e47c0d 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -578,7 +578,7 @@ AudioTimeAxisView::set_state (const XMLNode& node) void AudioTimeAxisView::set_height (TrackHeight h) { - bool height_changed = (h != height_style); + bool height_changed = (height == 0) || (h != height_style); TimeAxisView::set_height (h); |