Revert "updated to Xcode 9"

This reverts commit 802caf7445.
This commit is contained in:
michael starke
2017-09-20 13:41:59 +02:00
parent 802caf7445
commit 2050e769c4
3 changed files with 3 additions and 19 deletions

View File

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