diff options
author | Kenichi Handa <handa@m17n.org> | 1998-09-16 07:21:31 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-09-16 07:21:31 +0000 |
commit | 457262616e0f6d070cbbd74d2761c92bfe89dce1 (patch) | |
tree | 4fa9ab2a0c89aacb6ba933a5cbdc2c7d283a2dc8 /src/xdisp.c | |
parent | 4328c92a19161f8dd69f6101571b689f20fdfea1 (diff) | |
download | emacs-457262616e0f6d070cbbd74d2761c92bfe89dce1.tar.gz |
(message_log_check_duplicate): Count byte length of the
latest message correctly.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index cf6ae256073..9abc887a747 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -447,7 +447,7 @@ message_log_check_duplicate (prev_bol, prev_bol_byte, this_bol, this_bol_byte) int prev_bol_byte, this_bol_byte; { int i; - int len = Z - 1 - this_bol; + int len = Z_BYTE - 1 - this_bol_byte; int seen_dots = 0; unsigned char *p1 = BUF_BYTE_ADDRESS (current_buffer, prev_bol_byte); unsigned char *p2 = BUF_BYTE_ADDRESS (current_buffer, this_bol_byte); |