aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorMiles Bader2008-01-30 07:57:28 +0000
committerMiles Bader2008-01-30 07:57:28 +0000
commitd235ca2ff8fab139ce797757fcb159d1e28fa7e0 (patch)
tree96c5cd1a06a0d9dc26e8470c6eabfc032c0046f3 /src/xterm.c
parent3709a060f679dba14df71ae64a0035fa2b5b3106 (diff)
parent02cbe062bee38a6705bafb1699d77e3c44cfafcf (diff)
downloademacs-d235ca2ff8fab139ce797757fcb159d1e28fa7e0.tar.gz
emacs-d235ca2ff8fab139ce797757fcb159d1e28fa7e0.zip
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1c5daca6425..aea431ea3fa 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6776,9 +6776,7 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
6776 kbd_buffer_store_event_hold (&inev.ie, hold_quit); 6776 kbd_buffer_store_event_hold (&inev.ie, hold_quit);
6777 } 6777 }
6778 6778
6779 /* Previous code updated count by nchars rather than nbytes, 6779 count += nchars;
6780 but that seems bogus to me. ++kfs */
6781 count += nbytes;
6782 6780
6783 inev.ie.kind = NO_EVENT; /* Already stored above. */ 6781 inev.ie.kind = NO_EVENT; /* Already stored above. */
6784 6782
@@ -7275,7 +7273,9 @@ x_dispatch_event (event, display)
7275 We return as soon as there are no more events to be read. 7273 We return as soon as there are no more events to be read.
7276 7274
7277 We return the number of characters stored into the buffer, 7275 We return the number of characters stored into the buffer,
7278 thus pretending to be `read'. 7276 thus pretending to be `read' (except the characters we store
7277 in the keyboard buffer can be multibyte, so are not necessarily
7278 C chars).
7279 7279
7280 EXPECTED is nonzero if the caller knows input is available. */ 7280 EXPECTED is nonzero if the caller knows input is available. */
7281 7281