From 193dd55534807cc92e345f3455c1c78036e47af2 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Tue, 13 Sep 2016 00:12:08 -0700 Subject: [PATCH] Fix macmeta for Greek layout Fix #300 --- src/MacVim/MMTextViewHelper.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MacVim/MMTextViewHelper.m b/src/MacVim/MMTextViewHelper.m index d6dedfb278..d93fecc07e 100644 --- a/src/MacVim/MMTextViewHelper.m +++ b/src/MacVim/MMTextViewHelper.m @@ -159,8 +159,7 @@ KeyboardInputSourcesEqual(TISInputSourceRef a, TISInputSourceRef b) // Note that this implies that 'mmta' (if enabled) breaks input methods // when the Alt key is held. if ((flags & NSAlternateKeyMask) && [mmta boolValue] && [unmod length] == 1 - && [unmod characterAtIndex:0] > 0x20 - && [unmod characterAtIndex:0] < 0x7f) { + && [unmod characterAtIndex:0] > 0x20) { ASLogDebug(@"MACMETA key, don't interpret it"); string = unmod; } else if (imState && (flags & NSControlKeyMask)