]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_read_socket): Change calls to gen_help_event.
authorGerd Moellmann <gerd@gnu.org>
Mon, 21 Aug 2000 18:57:13 +0000 (18:57 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 21 Aug 2000 18:57:13 +0000 (18:57 +0000)
src/w32term.c

index b1dee9274c62e69959ed5938271d5bb476846b80..7d664a6c532debdd24662b626d5cc7b32c1c0082 100644 (file)
@@ -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;
                 }
             }