From e9c1637d1c85e421c4e0c96e690dea815838190c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 20 Oct 2009 13:48:37 +0000 Subject: [PATCH] (char_resolve_modifier_mask): Don't resolve meta to the 8th bit, since that only made since in the ASCII world (bug#4751). --- src/ChangeLog | 5 +++++ src/character.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 378a2db0653..2046c04e872 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-10-20 Stefan Monnier + + * character.c (char_resolve_modifier_mask): Don't resolve meta to the + 8th bit, since that only made since in the ASCII world (bug#4751). + 2009-10-20 YAMAMOTO Mitsuharu * xterm.c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit diff --git a/src/character.c b/src/character.c index bfe99766bc8..33d6969be89 100644 --- a/src/character.c +++ b/src/character.c @@ -127,11 +127,13 @@ char_resolve_modifier_mask (c) else if ((c & 0177) >= 0100 && (c & 0177) <= 0137) c &= (037 | (~0177 & ~CHAR_CTL)); } +#if 0 /* This is outside the scope of this function. (bug#4751) */ if (c & CHAR_META) { /* Move the meta bit to the right place for a string. */ c = (c & ~CHAR_META) | 0x80; } +#endif return c; } -- 2.39.2