]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_char_face): If buffer is unibyte, set CH to
authorGerd Moellmann <gerd@gnu.org>
Mon, 23 Apr 2001 14:58:40 +0000 (14:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 23 Apr 2001 14:58:40 +0000 (14:58 +0000)
zero instead of -1.

src/ChangeLog
src/xfaces.c

index 75a087c1c5a9e9a1c7cf9cebb2cb5a9bab1d6b5d..dcd4dd19738f89c0fbdd105984491e8b1a0de456 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfaces.c (compute_char_face): If buffer is unibyte, set CH to
+       zero instead of -1.
+
 2001-04-21  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * process.c (wait_reading_process_input) [!subprocesses]: Don't
index 24f4c8406e36eb2b2d3724abee2333f83c5785f1..8433460b47fc5abf13fddbe6324fda52cd58ef8f 100644 (file)
@@ -6569,7 +6569,7 @@ compute_char_face (f, ch, prop)
   int face_id;
 
   if (NILP (current_buffer->enable_multibyte_characters))
-    ch = -1;
+    ch = 0;
 
   if (NILP (prop))
     {