Update of /cvsroot/audacity/audacity-src/src/effects
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8397/effects

Modified Files:
        NoiseRemoval.cpp 
Log Message:
Get rid of a couple of warnings.

Index: NoiseRemoval.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/NoiseRemoval.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- NoiseRemoval.cpp    23 Mar 2009 00:32:54 -0000      1.57
+++ NoiseRemoval.cpp    24 Mar 2009 05:00:54 -0000      1.58
@@ -231,7 +231,7 @@
    bool bAllowTwiddleSettings = (GetNumWaveTracks() == 0); 
 
    if (mHasProfile || bAllowTwiddleSettings) {
-      dlog.m_pButton_Preview->Enable(GetNumWaveTracks());
+      dlog.m_pButton_Preview->Enable(GetNumWaveTracks() != 0);
       dlog.m_pButton_RemoveNoise->SetDefault();
    } else {
       dlog.m_pButton_Preview->Enable(false);


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to