From ab4a7d43780b4912702c84093e0d7cbe9c242f41 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sat, 1 Jun 2013 23:19:02 +0200 Subject: [PATCH] Clarify unicode type --- Sources/VLPitchTransformer.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/VLPitchTransformer.mm b/Sources/VLPitchTransformer.mm index f09db09..717bfd0 100644 --- a/Sources/VLPitchTransformer.mm +++ b/Sources/VLPitchTransformer.mm @@ -27,8 +27,8 @@ const char * sPitch2Name = "C D EF G A B"; pitch %= 12; if (sPitch2Name[pitch] == ' ') return [NSString stringWithFormat:@"%c%C%d / %c%C%d", - sPitch2Name[pitch-1], kVLSharpChar, octave, - sPitch2Name[pitch+1], kVLFlatChar, octave]; + sPitch2Name[pitch-1], unichar(kVLSharpChar), octave, + sPitch2Name[pitch+1], unichar(kVLFlatChar), octave]; else return [NSString stringWithFormat:@"%c%d", sPitch2Name[pitch], octave];