From 5ab2570deaabacf8c5875bf0a11123f675d7b10c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 21 Aug 2000 18:58:17 +0000 Subject: [PATCH] (XTread_socket): Change calls to gen_help_event. --- src/xterm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 8ed946c8492..ccd9f8bce6e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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; -- 2.39.2