# HG changeset patch
# User Gerd Moellmann <gerd@gnu.org>
# Date 966884297 0
# Node ID bc4608ec8691cd9152ed6a2f1f9c209f93070b52
# Parent  040345be1d12991d17cb146916aa65967def7b57
(XTread_socket): Change calls to gen_help_event.

diff -r 040345be1d12 -r bc4608ec8691 src/xterm.c
--- a/src/xterm.c	Mon Aug 21 18:57:13 2000 +0000
+++ b/src/xterm.c	Mon Aug 21 18:58:17 2000 +0000
@@ -9890,7 +9890,8 @@
 		      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 @@
 		      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;