[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#502639: ams: "Follow MIDI controller" doesn't work



Package: ams
Version: 1.8.7-5
Severity: normal
Tags: patch

The "Follow MIDI controller" option doesn't work (i.e., behaves like
"Init MIDI controller") due to a misplaced closing brace.

--- ams-1.8.7.orig/midiguicomponent.cpp	2008-05-01 16:57:37.000000000 +0400
+++ ams-1.8.7/midiguicomponent.cpp	2008-05-01 16:57:43.000000000 +0400
@@ -109,11 +109,11 @@
         snd_seq_event_output_direct(synthdata->seq_handle, &ev);
 //        fprintf(stderr, "--> %d %d %d\n", type, ch, param);
       }
-      if (synthdata->midiControllerMode > 0) {
-        controllerOK = true;
-      }  
-    }  
-  }  
+    }
+    if (synthdata->midiControllerMode > 0) {
+      controllerOK = true;
+    }
+  }
   setMidiValue(value);
 }
 



Reply to: