emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src coding.c


From: Jason Rumney
Subject: [Emacs-diffs] emacs/src coding.c
Date: Sat, 28 Feb 2009 13:37:34 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   09/02/28 13:37:34

Modified files:
        src            : coding.c 

Log message:
        (detect_coding_charset): If not checking latin extra,
        fail on characters between 0x80 and 0xA0.  (Bug#2354)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/coding.c?cvsroot=emacs&r1=1.420&r2=1.421

Patches:
Index: coding.c
===================================================================
RCS file: /sources/emacs/emacs/src/coding.c,v
retrieving revision 1.420
retrieving revision 1.421
diff -u -b -r1.420 -r1.421
--- coding.c    28 Feb 2009 12:04:30 -0000      1.420
+++ coding.c    28 Feb 2009 13:37:33 -0000      1.421
@@ -5128,8 +5128,8 @@
       if (c >= 0x80)
        {
          if (c < 0xA0
-             && check_latin_extra
-             && NILP (XVECTOR (Vlatin_extra_code_table)->contents[c]))
+             && (!check_latin_extra
+                 || NILP (XVECTOR (Vlatin_extra_code_table)->contents[c])))
            break;
          found = CATEGORY_MASK_CHARSET;
        }




reply via email to

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