Browse Source

cmMidiFile.c : _cmMidiFileLinearize() now immediately clears mfp->msgVDirtyFl to avoid problems in 'kc'.

master
kevin 8 years ago
parent
commit
9bc41724d6
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      cmMidiFile.c

+ 2
- 1
cmMidiFile.c View File

535
 
535
 
536
   if( mfp->msgVDirtyFl == false )
536
   if( mfp->msgVDirtyFl == false )
537
     return;
537
     return;
538
+
539
+  mfp->msgVDirtyFl = false;
538
   
540
   
539
   // get the total trk msg count
541
   // get the total trk msg count
540
   mfp->msgN = 0;
542
   mfp->msgN = 0;
567
   // set the amicro value in each msg
569
   // set the amicro value in each msg
568
   _cmMidiFileSetAbsoluteTime(mfp);
570
   _cmMidiFileSetAbsoluteTime(mfp);
569
 
571
 
570
-  mfp->msgVDirtyFl = false;
571
   
572
   
572
 }
573
 }
573
 
574
 

Loading…
Cancel
Save