changeset 31011:bc4608ec8691

(XTread_socket): Change calls to gen_help_event.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 21 Aug 2000 18:58:17 +0000
parents 040345be1d12
children 62881d34a9ba
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;