changeset 152:b1cbd2b78a18 powertable

Correct schoolboy cut'n'paste error. (Even when OAOOizing code, cut'n'pasteos can creep in. *sigh*)
author mas01cr
date Wed, 31 Oct 2007 16:53:25 +0000
parents 12fee2a993bf
children 00928c833187
files audioDB.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audioDB.cpp	Wed Oct 31 14:37:55 2007 +0000
+++ b/audioDB.cpp	Wed Oct 31 16:53:25 2007 +0000
@@ -1755,7 +1755,7 @@
 
     sequence_sum(qpPtr, numVectors, sequenceLength);
     ps = qpPtr;
-    w = trackTable[i] - sequenceLength + 1;
+    w = numVectors - sequenceLength + 1;
     while(w--) {
       *ps = *ps / sequenceLength;
       ps++;