diff src/coding.c @ 90291:d6f8fe3307c8

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-11 Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 34-42) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 14-17) - Update from CVS - Merge from emacs--devo--0
author Miles Bader <miles@gnu.org>
date Sat, 04 Feb 2006 01:01:38 +0000
parents 72d8a45f6c9f ae0affba29c8
children 697c08d95af7
line wrap: on
line diff
--- a/src/coding.c	Fri Feb 03 07:38:00 2006 +0000
+++ b/src/coding.c	Sat Feb 04 01:01:38 2006 +0000
@@ -1039,7 +1039,7 @@
       make_gap (bytes);
       GAP_SIZE += add; ZV -= add; Z -= add; ZV_BYTE -= add; Z_BYTE -= add;
     }
-  else
+  else if (c >= 0x80)
     {
       Lisp_Object this_buffer;
 
@@ -1308,6 +1308,8 @@
       *charbuf++ = ASCII_BYTE_P (c) ? c : BYTE8_TO_CHAR (c);
       coding->errors++;
     }
+  else
+    return 0;
 
  no_more_source:
   coding->consumed_char += consumed_chars_base;