emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src charset.c


From: Kenichi Handa
Subject: [Emacs-diffs] emacs/src charset.c
Date: Tue, 14 Apr 2009 01:24:52 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   09/04/14 01:24:52

Modified files:
        src            : charset.c 

Log message:
        (Fdefine_charset_internal): Make charset
        ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
        code_offset is 0, and covers all ASCII characters.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/charset.c?cvsroot=emacs&r1=1.174&r2=1.175

Patches:
Index: charset.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/charset.c,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -b -r1.174 -r1.175
--- charset.c   9 Apr 2009 03:47:31 -0000       1.174
+++ charset.c   14 Apr 2009 01:24:52 -0000      1.175
@@ -1082,6 +1082,8 @@
       i = (i >> 12) << 12;
       for (; i <= charset.max_char; i += 0x1000)
        CHARSET_FAST_MAP_SET (i, charset.fast_map);
+      if (charset.code_offset == 0 && charset.max_char >= 0x80)
+       charset.ascii_compatible_p = 1;
     }
   else if (! NILP (args[charset_arg_map]))
     {




reply via email to

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