Mercurial > hg > svcore
diff data/model/WaveFileModel.cpp @ 948:6d2ece0fe356
Small fixes: avoid static etc
author | Chris Cannam |
---|---|
date | Thu, 17 Jul 2014 16:22:54 +0100 |
parents | d03b3d956358 |
children | 9869ea3a93b7 |
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp Thu Jul 17 14:50:31 2014 +0100 +++ b/data/model/WaveFileModel.cpp Thu Jul 17 16:22:54 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 {