]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/midi.c
texi2html: Use only one <pre class="example"> for @example -> valid HTML now
[lilypond.git] / python / midi.c
index facf06446a3e1ae2f2399c593b7714cc20c05701..ec57ef72841f0cb2b3721e2918ec8c1ff9ca7a7f 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--2009 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;