changeset 917:49618f39ff09

restore brace style
author Chris Cannam
date Tue, 03 Jun 2014 11:05:49 +0100 (2014-06-03)
parents c0c679c3b5b9
children e88a15c25a4a 926f33d3a8b7 6a94bb528e9d 0c1d6de8f44b
files data/model/FlexiNoteModel.h
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/FlexiNoteModel.h	Tue Jun 03 10:45:39 2014 +0100
+++ b/data/model/FlexiNoteModel.h	Tue Jun 03 11:05:49 2014 +0100
@@ -235,8 +235,7 @@
     {    
     	PointList points = getPoints(startFrame, endFrame);
         NoteList notes;
-        for (PointList::iterator pli = points.begin(); pli != points.end(); ++pli) 
-        {
+        for (PointList::iterator pli = points.begin(); pli != points.end(); ++pli) {
     	    size_t duration = pli->duration;
             if (duration == 0 || duration == 1) {
                 duration = getSampleRate() / 20;
@@ -244,8 +243,7 @@
             int pitch = lrintf(pli->value);
 
             int velocity = 100;
-            if (pli->level > 0.f && pli->level <= 1.f) 
-            {
+            if (pli->level > 0.f && pli->level <= 1.f) {
                 velocity = lrintf(pli->level * 127);
             }