# HG changeset patch # User Kenichi Handa # Date 905930491 0 # Node ID b72cefab3254d047a84e738227bda9ac7cef6d13 # Parent e54c6c6c2746e37279e65d78d786c85167a99aa0 (message_log_check_duplicate): Count byte length of the latest message correctly. diff -r e54c6c6c2746 -r b72cefab3254 src/xdisp.c --- a/src/xdisp.c Tue Sep 15 15:22:59 1998 +0000 +++ b/src/xdisp.c Wed Sep 16 07:21:31 1998 +0000 @@ -447,7 +447,7 @@ 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);