From: Gerd Moellmann Date: Mon, 13 Nov 2000 13:39:21 +0000 (+0000) Subject: (show_help_echo): Call message3_nolog with number of X-Git-Tag: emacs-pretest-21.0.90~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ca020fca352e6453e61d440e2e83eece1d9759f;p=emacs.git (show_help_echo): Call message3_nolog with number of bytes in the help string as 2nd parameter, instead of the number of characters. --- diff --git a/src/ChangeLog b/src/ChangeLog index 10eb9c87415..dd63a3572fc 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 b086ae57ca6..a8472f2318b 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); }