emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/charset.c [emacs-unicode-2]


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/charset.c [emacs-unicode-2]
Date: Thu, 14 Oct 2004 22:32:25 -0400

Index: emacs/src/charset.c
diff -c emacs/src/charset.c:1.134.6.10 emacs/src/charset.c:1.134.6.11
*** emacs/src/charset.c:1.134.6.10      Tue Aug 17 11:49:18 2004
--- emacs/src/charset.c Fri Oct 15 02:10:42 2004
***************
*** 1174,1183 ****
--- 1174,1185 ----
        || cs->dimension != 1)
      error ("Inappropriate unibyte charset: %s", SDATA (SYMBOL_NAME 
(charset)));
    charset_unibyte = cs->id;
+   memset (unibyte_has_multibyte_table, 1, 128);
    for (i = 128; i < 256; i++)
      {
        c = DECODE_CHAR (cs, i);
        unibyte_to_multibyte_table[i] = (c < 0 ? BYTE8_TO_CHAR (i) : c);
+       unibyte_has_multibyte_table[i] = c >= 0;
      }
  
    return Qnil;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]