Commit 856bf263 authored by Jim Blandy's avatar Jim Blandy

* keyboard.c (kbd_buffer_get_event): Fix fencepost bug in

	fetching events from kbd_buffer.
parent aef4d570
......@@ -1584,7 +1584,7 @@ kbd_buffer_get_event ()
struct input_event *event;
Lisp_Object frame;
event = ((kbd_fetch_ptr <= kbd_buffer + KBD_BUFFER_SIZE)
event = ((kbd_fetch_ptr < kbd_buffer + KBD_BUFFER_SIZE)
? kbd_fetch_ptr
: kbd_buffer);
......
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