Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv9695
Modified Files:
WaveClip.cpp
Log Message:
Fix offset when loading envelopes
Index: WaveClip.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/WaveClip.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- WaveClip.cpp 23 Sep 2006 02:28:05 -0000 1.21
+++ WaveClip.cpp 2 Nov 2006 22:01:12 -0000 1.22
@@ -653,7 +653,8 @@
{
if (!wxStrcmp(tag, wxT("waveclip")))
{
- while(*attrs) {
+ while (*attrs)
+ {
const wxChar *attr = *attrs++;
const wxChar *value = *attrs++;
@@ -661,8 +662,11 @@
break;
if (!wxStrcmp(attr, wxT("offset")))
- Internat::CompatibleToDouble(wxString(value), &mOffset);
-
+ {
+ double offset;
+ Internat::CompatibleToDouble(wxString(value), &offset);
+ SetOffset(offset);
+ }
}
return true;
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs