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

Modified Files:
        Ruler.cpp 
Log Message:
Simplest fix for the extra 'zero' line, but is mZeroPosition really needed?  We 
could just return the value.

Index: Ruler.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/Ruler.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- Ruler.cpp   18 Feb 2009 06:38:12 -0000      1.57
+++ Ruler.cpp   19 Feb 2009 00:02:10 -0000      1.58
@@ -1436,7 +1436,7 @@
    if(d == 0.0)
       return (mZeroPosition  = label[i - 1].pos) ;
    else
-      return -1;
+      return mZeroPosition  = -1;
 }
 
 int Ruler::GetZeroPosition() 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to