summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-11-13 13:39:21 +0000
committerGerd Moellmann <gerd@gnu.org>2000-11-13 13:39:21 +0000
commit5ca020fca352e6453e61d440e2e83eece1d9759f (patch)
tree87d2ea9c32156435bdb6d1c540e25c6df260fc2b
parent9d3482947201704db7f7597d365ae5c9416df382 (diff)
downloademacs-5ca020fca352e6453e61d440e2e83eece1d9759f.tar.gz
emacs-5ca020fca352e6453e61d440e2e83eece1d9759f.tar.bz2
emacs-5ca020fca352e6453e61d440e2e83eece1d9759f.zip
(show_help_echo): Call message3_nolog with number of
bytes in the help string as 2nd parameter, instead of the number of characters.
-rw-r--r--src/ChangeLog6
-rw-r--r--src/keyboard.c2
2 files changed, 7 insertions, 1 deletions
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 <gerd@gnu.org>
+
+ * 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 <miles@gnu.org>
* 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);
}