Embarrassing!!! :(
Index: /home/vlada/sources/rg_experiment/src/gui/dialogs/ImportDeviceDialog.cpp
===================================================================
--- /home/vlada/sources/rg_experiment/src/gui/dialogs/ImportDeviceDialog.cpp    
(revision 11339)
+++ /home/vlada/sources/rg_experiment/src/gui/dialogs/ImportDeviceDialog.cpp    
(working copy)
@@ -451,7 +451,7 @@
     std::vector<MidiBank> banks;
     std::vector<MidiProgram> programs;
 
-    int comparableBankNumber = 0;
+    int comparableBankNumber = -1; //Make sure that first bank is read too by 
comparing to -1 first (invalid bank number)
 
     for (LSCPPatchExtractor::Device::const_iterator i = lscpDevice.begin();
     i != lscpDevice.end(); ++i) {
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to