changeset 105688:dfb23d6b0762

(char_resolve_modifier_mask): Don't resolve meta to the 8th bit, since that only made since in the ASCII world (bug#4751).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 20 Oct 2009 13:48:37 +0000
parents db87dab9191a
children d81a8bc83c5e
files src/ChangeLog src/character.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Oct 20 10:21:25 2009 +0000
+++ b/src/ChangeLog	Tue Oct 20 13:48:37 2009 +0000
@@ -1,3 +1,8 @@
+2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* 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  <mituharu@math.s.chiba-u.ac.jp>
 
 	* xterm.c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
--- a/src/character.c	Tue Oct 20 10:21:25 2009 +0000
+++ b/src/character.c	Tue Oct 20 13:48:37 2009 +0000
@@ -127,11 +127,13 @@
       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;
 }