1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

* keyboard.c (make_lispy_position): Fix typo in last change (Bug#7935).

This commit is contained in:
Chong Yidong 2011-01-29 10:17:00 -05:00
parent bf3dae7ec3
commit b6bcd04894
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;