diff options
| author | Gerd Moellmann | 2001-04-23 14:58:40 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-04-23 14:58:40 +0000 |
| commit | 522d42f715acfe3c4d5d0c6c20bad91b6dc245db (patch) | |
| tree | b9507013e6d21f8f635a696565931dde188e0641 /src | |
| parent | 53e1a74cec2b4ad6d1b2dc19b460b578f828e4ac (diff) | |
| download | emacs-522d42f715acfe3c4d5d0c6c20bad91b6dc245db.tar.gz emacs-522d42f715acfe3c4d5d0c6c20bad91b6dc245db.zip | |
(compute_char_face): If buffer is unibyte, set CH to
zero instead of -1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xfaces.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 75a087c1c5a..dcd4dd19738 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-04-23 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xfaces.c (compute_char_face): If buffer is unibyte, set CH to | ||
| 4 | zero instead of -1. | ||
| 5 | |||
| 1 | 2001-04-21 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2001-04-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * process.c (wait_reading_process_input) [!subprocesses]: Don't | 8 | * process.c (wait_reading_process_input) [!subprocesses]: Don't |
diff --git a/src/xfaces.c b/src/xfaces.c index 24f4c8406e3..8433460b47f 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6569,7 +6569,7 @@ compute_char_face (f, ch, prop) | |||
| 6569 | int face_id; | 6569 | int face_id; |
| 6570 | 6570 | ||
| 6571 | if (NILP (current_buffer->enable_multibyte_characters)) | 6571 | if (NILP (current_buffer->enable_multibyte_characters)) |
| 6572 | ch = -1; | 6572 | ch = 0; |
| 6573 | 6573 | ||
| 6574 | if (NILP (prop)) | 6574 | if (NILP (prop)) |
| 6575 | { | 6575 | { |