Clarify unicode type

This commit is contained in:
Matthias Neeracher 2013-06-01 23:19:02 +02:00
parent 139c67d6cd
commit ab4a7d4378

View File

@ -27,8 +27,8 @@ const char * sPitch2Name = "C D EF G A B";
pitch %= 12; pitch %= 12;
if (sPitch2Name[pitch] == ' ') if (sPitch2Name[pitch] == ' ')
return [NSString stringWithFormat:@"%c%C%d / %c%C%d", return [NSString stringWithFormat:@"%c%C%d / %c%C%d",
sPitch2Name[pitch-1], kVLSharpChar, octave, sPitch2Name[pitch-1], unichar(kVLSharpChar), octave,
sPitch2Name[pitch+1], kVLFlatChar, octave]; sPitch2Name[pitch+1], unichar(kVLFlatChar), octave];
else else
return [NSString stringWithFormat:@"%c%d", return [NSString stringWithFormat:@"%c%d",
sPitch2Name[pitch], octave]; sPitch2Name[pitch], octave];