diff data/model/FlexiNoteModel.h @ 917:49618f39ff09

restore brace style
author Chris Cannam
date Tue, 03 Jun 2014 11:05:49 +0100
parents 515c654770ca
children 59e7fe1b1003
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);
             }