* keyboard.c (make_lispy_position): Fix typo in last change (Bug#7935).
This commit is contained in:
parent
bf3dae7ec3
commit
b6bcd04894
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-01-29 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* keyboard.c (make_lispy_position): Fix typo in last change
|
||||
(Bug#7935).
|
||||
|
||||
2011-01-29 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* s/ms-w32.h (HAVE_MKTIME): Remove.
|
||||
|
|
|
@ -5155,7 +5155,7 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
|
|||
is the X coordinate relative to the text area for
|
||||
text-area and right-margin clicks, zero otherwise. */
|
||||
int x2
|
||||
= (part == ON_TEXT) ? x2
|
||||
= (part == ON_TEXT) ? xret
|
||||
: (part == ON_RIGHT_FRINGE || part == ON_RIGHT_MARGIN)
|
||||
? (XINT (x) - window_box_left (w, TEXT_AREA))
|
||||
: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue