OSDN Git Service

バグ探索からの指摘を反映
authorAkiyoshi Kamide <kamide@yk.rim.or.jp>
Sat, 9 Jul 2016 16:58:21 +0000 (01:58 +0900)
committerAkiyoshi Kamide <kamide@yk.rim.or.jp>
Sat, 9 Jul 2016 16:58:21 +0000 (01:58 +0900)
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);