Create the test string to detect kb layouts directly from the unicode chars
This commit is contained in:
parent
d046bd88ad
commit
08cfad00dd
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue