cmMidi.c : Removed check for negative on unsigned 'rv' in cmSciPitchToMidi().

This commit is contained in:
kevin 2014-11-18 16:54:37 -08:00
parent 0579a50ed1
commit 5c1056299c

View File

@ -245,7 +245,7 @@ cmMidiByte_t cmSciPitchToMidi( const char* sciPitchStr )
unsigned rv = (octave*12) + idx + 12;
if( 0 <= rv && rv <= 127 )
if( rv <= 127 )
return rv;
return kInvalidMidiPitch;