OSDN Git Service

バグ探索からの指摘を反映
[midichordhelper/MIDIChordHelper.git] / src / camidion / chordhelper / music / MIDISpec.java
index e0d883f..2cddb91 100644 (file)
@@ -1113,7 +1113,7 @@ public class MIDISpec {
                                                        int b = (msgdata[i] & 0xFF);
                                                        if( b == 0xF7 ) break;
                                                        String s = (
-                                                               b < 0 || b >= MIDISpec.nsx39LyricElements.length ?
+                                                               b >= MIDISpec.nsx39LyricElements.length ?
                                                                "?": MIDISpec.nsx39LyricElements[b]
                                                        );
                                                        p.append(s);