]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Change calls to gen_help_event.
authorGerd Moellmann <gerd@gnu.org>
Mon, 21 Aug 2000 18:58:17 +0000 (18:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 21 Aug 2000 18:58:17 +0000 (18:58 +0000)
src/xterm.c

index 8ed946c849272ecb49d8773a95cc2935836fd90b..ccd9f8bce6e77f0f572250bebc091a61cb21f875 100644 (file)
@@ -9890,7 +9890,8 @@ XTread_socket (sd, bufp, numchars, expected)
                      int n;
 
                      XSETFRAME (frame, f);
-                     n = gen_help_event (bufp, Qnil, frame, Qnil, Qnil, 0);
+                     n = gen_help_event (bufp, numchars,
+                                         Qnil, frame, Qnil, Qnil, 0);
                      bufp += n, count += n, numchars -= n;
                    }
 
@@ -9978,7 +9979,7 @@ XTread_socket (sd, bufp, numchars, expected)
                      frame = Qnil;
 
                    any_help_event_p = 1;
-                   n = gen_help_event (bufp, help_echo, frame,
+                   n = gen_help_event (bufp, numchars, help_echo, frame,
                                        help_echo_window, help_echo_object,
                                        help_echo_pos);
                    bufp += n, count += n, numchars -= n;