Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9333/src
Modified Files:
TrackArtist.cpp
Log Message:
Fix reference past end of array.
Index: TrackArtist.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackArtist.cpp,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- TrackArtist.cpp 4 Apr 2009 22:52:59 -0000 1.143
+++ TrackArtist.cpp 10 Apr 2009 06:36:17 -0000 1.144
@@ -1877,7 +1877,7 @@
w1 = (sampleCount) ((t0*rate + (x+1) *rate *tstep) + .5);
if (!logF)
{
- for (int yy = 0; yy < mid.height; yy++) {
+ for (int yy = 0; yy < mid.height - 1; yy++) {
bool selflag = (ssel0 <= w0 && w1 < ssel1);
unsigned char rv, gv, bv;
float value;
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs