From b41653141d3333bdf687e3c27847d8b92effc548 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 21 Aug 2000 18:57:13 +0000 Subject: [PATCH] (w32_read_socket): Change calls to gen_help_event. --- src/w32term.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/w32term.c b/src/w32term.c index b1dee9274c6..7d664a6c532 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -7674,8 +7674,9 @@ w32_read_socket (sd, bufp, numchars, expected) frame = Qnil; any_help_event_p = 1; - n = gen_help_event (bufp, help_echo, frame, help_echo_window, - help_echo_object, help_echo_pos); + n = gen_help_event (bufp, numchars, help_echo, frame, + help_echo_window, help_echo_object, + help_echo_pos); bufp += n, count += n, numchars -= n; } break; @@ -8001,7 +8002,8 @@ w32_read_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; } } -- 2.39.2