diff options
author | Carl Hetherington <carl@carlh.net> | 2010-10-28 17:02:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-10-28 17:02:29 +0000 |
commit | d731e4dba1109ba641cea132c004dad71cbc4268 (patch) | |
tree | d87a3449ffb51588456f600e599846a87ca86058 /libs/ardour/progress.cc | |
parent | 6a81cd5f714d7f8ee8f83eaba8f7c9425c8c994b (diff) |
Fix up progress bar on normalization.
git-svn-id: svn://localhost/ardour2/branches/3.0@7934 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/progress.cc')
-rw-r--r-- | libs/ardour/progress.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/progress.cc b/libs/ardour/progress.cc index 0679ce8a13..d09309f793 100644 --- a/libs/ardour/progress.cc +++ b/libs/ardour/progress.cc @@ -46,7 +46,9 @@ void ARDOUR::Progress::ascend () { assert (!_stack.empty ()); + float const a = _stack.back().allocation; _stack.pop_back (); + _stack.back().normalised += a; } /** Set the progress of the current task. |