updated to Xcode 9

This commit is contained in:
michael starke
2017-09-20 13:14:50 +02:00
parent 024c9d71d1
commit 802caf7445
3 changed files with 19 additions and 3 deletions

View File

@@ -90,7 +90,9 @@ uint16_t const kMPUnknownKeyCode = UINT16_MAX;
sizeof(chars) / sizeof(chars[0]),
&realLength,
chars);
if(success != 0) {
return @"";
}
return CFBridgingRelease(CFStringCreateWithCharacters(kCFAllocatorDefault, chars, 1));
}