Commit b4165314 authored by Gerd Moellmann's avatar Gerd Moellmann

(w32_read_socket): Change calls to gen_help_event.

parent 7a912f63
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment