Create the test string to detect kb layouts directly from the unicode chars

This commit is contained in:
Rhody Lugo 2015-01-08 10:31:10 -04:30
parent d046bd88ad
commit 08cfad00dd

View file

@ -1297,9 +1297,7 @@ static NSString *createStringForKeys(const CGKeyCode *keyCode, int length) {
return nil;
}
CFStringRef chararter = CFStringCreateWithCharacters(kCFAllocatorDefault, chars, 1);
CFStringAppend(output, chararter);
CFRelease(chararter);
CFStringAppendCharacters(output, chars, 1);
}
//CFStringUppercase(output, NULL);