]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_help_echo): Call message3_nolog with number of
authorGerd Moellmann <gerd@gnu.org>
Mon, 13 Nov 2000 13:39:21 +0000 (13:39 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 13 Nov 2000 13:39:21 +0000 (13:39 +0000)
bytes in the help string as 2nd parameter, instead of the number
of characters.

src/ChangeLog
src/keyboard.c

index 10eb9c874159a8b0790ac99c1ddd0b8a353881a9..dd63a3572fc19ac41de16001abdb4e38928aa865 100644 (file)
@@ -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.
index b086ae57ca629c066e04adcf3b11f5aa1d8a3e83..a8472f2318b7be02b45f0d2d45e273852f2901a2 100644 (file)
@@ -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);
            }