From 5ca020fca352e6453e61d440e2e83eece1d9759f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 13 Nov 2000 13:39:21 +0000 Subject: [PATCH] (show_help_echo): Call message3_nolog with number of bytes in the help string as 2nd parameter, instead of the number of characters. --- src/ChangeLog | 6 ++++++ src/keyboard.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 10eb9c8741..dd63a3572f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2000-11-13 Gerd Moellmann + + * keyboard.c (show_help_echo): Call message3_nolog with number of + bytes in the help string as 2nd parameter, instead of the number + of characters. + 2000-11-13 Miles Bader * lread.c (openp): Return -2 instead of 0 for the `remote file' case. diff --git a/src/keyboard.c b/src/keyboard.c index b086ae57ca..a8472f2318 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2001,7 +2001,7 @@ show_help_echo (help, window, object, pos, ok_to_overwrite_keystroke_echo) { int count = specpdl_ptr - specpdl; specbind (Qmessage_truncate_lines, Qt); - message3_nolog (help, XSTRING (help)->size, + message3_nolog (help, STRING_BYTES (XSTRING (help)), STRING_MULTIBYTE (help)); unbind_to (count, Qnil); } -- 2.20.1