diff data/model/WaveFileModel.cpp @ 949:5f7b509a441a tonioni

Merge from default branch
author Chris Cannam
date Fri, 18 Jul 2014 11:07:30 +0100
parents 6d2ece0fe356
children 9869ea3a93b7
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp	Wed Jul 02 17:31:21 2014 +0100
+++ b/data/model/WaveFileModel.cpp	Fri Jul 18 11:07:30 2014 +0100
@@ -197,7 +197,9 @@
     if (start >= m_startFrame) {
         start -= m_startFrame;
     } else {
-        for (int i = 0; i < count; ++i) buffer[i] = 0.f;
+        for (int i = 0; i < count; ++i) {
+            buffer[i] = 0.f;
+        }
         if (count <= m_startFrame - start) {
             return 0;
         } else {