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];