changeset 1426:9ae40c7aecdf

Fix fallthrough which bothered compiler
author Chris Cannam
date Thu, 07 Dec 2017 13:33:30 +0000
parents bd73a689c8af
children 622d193a00dc
files data/midi/rtmidi/RtMidi.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/midi/rtmidi/RtMidi.cpp	Mon Oct 09 11:09:21 2017 +0100
+++ b/data/midi/rtmidi/RtMidi.cpp	Thu Dec 07 13:33:30 2017 +0000
@@ -1226,7 +1226,7 @@
       if ( !( data->ignoreFlags & 0x04 ) ) doDecode = true;
       break;
 
-		case SND_SEQ_EVENT_SYSEX:
+    case SND_SEQ_EVENT_SYSEX:
       if ( (data->ignoreFlags & 0x01) ) break;
       if ( ev->data.ext.len > apiData->bufferSize ) {
         apiData->bufferSize = ev->data.ext.len;
@@ -1238,6 +1238,8 @@
           break;
         }
       }
+      doDecode = true;
+      break;
 
     default:
       doDecode = true;