From b7a74e55933b9a8beaf8f610f201e62815dfed84 Mon Sep 17 00:00:00 2001 From: Mengjuei Date: Thu, 1 Mar 2012 23:47:06 -0800 Subject: [PATCH] revision.... --- Source/InputMethodController.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index 9be7162e..a80b2b1a 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -164,6 +164,7 @@ public: // If Option key is pressed, show the learning-related menu #if DEBUG + //I think the following line is 10.6+ specific if ([[NSEvent class] respondsToSelector:@selector(modifierFlags)] && ([NSEvent modifierFlags] & NSAlternateKeyMask)) { BOOL learningEnabled = ![[NSUserDefaults standardUserDefaults] boolForKey:kDisableUserCandidateSelectionLearning];