]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/midi.c
Run `make grand-replace'.
[lilypond.git] / python / midi.c
index dc7d38196bec8c54aaf28ac6ab37b26541015f62..0c698ded7054104224927abe6fbe8b2e0968e858 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2001--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2001--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
             Jan Nieuwenhuizen <janneke@gnu.org>
 
 */
@@ -304,10 +304,10 @@ midi_parse_track (unsigned char **track, unsigned char *track_end)
 
   {  
     PyObject *pytime = PyInt_FromLong (0L);
+    unsigned char running_status = 0;
+       
     while (*track < track_end)
       {
-       unsigned char running_status = 0;
-       
        long dt = get_variable_length_number(track, track_end);
        PyObject *pyev = 0;
 
@@ -372,7 +372,7 @@ midi_parse (unsigned char **midi,unsigned  char *midi_end)
 
 
   if (division < 0)
-    /* return midi_error ("can't handle non-metrical time"); */
+    /* return midi_error (cannot handle non-metrical time"); */
     ;
   *midi += header_len - 6;