Created
February 12, 2012 20:29
-
-
Save naan/1810723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/Classes/HiraganyController.m b/app/Classes/HiraganyController.m | |
index 141b3ea..99421ca 100644 | |
--- a/app/Classes/HiraganyController.m | |
+++ b/app/Classes/HiraganyController.m | |
@@ -66,6 +66,10 @@ | |
DebugLog(@"flags: %X", flags); | |
return NO; | |
} | |
+ if (flags & NSControlKeyMask) { | |
+ DebugLog(@"flags: %X", flags); | |
+ return NO; | |
+ } | |
DebugLog(@"inputText: %@, %X, %X", string, keyCode, flags); | |
NSScanner* scanner = [NSScanner scannerWithString:string]; | |
NSString* scanned; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment