Mercurial > hg > svgui
diff layer/WaveformLayer.cpp @ 56:fedaf3ffe80a
* Add menu for re-adding existing layers
* Fix layer tree window so that it at least approximates correct
* Add bundled operations in command history, for use with things like
multiple consecutive changes to a parameter value
* Disambiguate plugins that happen to have identical descriptions
* Add spectral centroid plugin (could use some parameters!)
* Some other fixes
author | Chris Cannam |
---|---|
date | Fri, 17 Mar 2006 17:38:28 +0000 |
parents | ad214997dddb |
children | 01ab51f72e84 |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Thu Mar 16 18:46:00 2006 +0000 +++ b/layer/WaveformLayer.cpp Fri Mar 17 17:38:28 2006 +0000 @@ -98,9 +98,9 @@ { int deft = 0; - int throwaway; - if (!min) min = &throwaway; - if (!max) max = &throwaway; + int garbage0, garbage1; + if (!min) min = &garbage0; + if (!max) max = &garbage1; if (name == tr("Gain")) {