diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2015-12-15 17:53:44 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2015-12-15 17:54:07 +0900 |
commit | 702434408433a3b04be1a03b10366b4d7191b54e (patch) | |
tree | 8ac597068f8d780cc7ddbded0667051883884982 /src/w32fns.c | |
parent | 97abf9273a80e0890b4756ec4d09d8bfe4077bba (diff) | |
download | emacs-702434408433a3b04be1a03b10366b4d7191b54e.tar.gz emacs-702434408433a3b04be1a03b10366b4d7191b54e.tar.bz2 emacs-702434408433a3b04be1a03b10366b4d7191b54e.zip |
Fix variable name typo in compute_tip_xy
* src/w32fns.c (compute_tip_xy):
* src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
when `right' is integer.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index f9ce762f0e9..4be322182ce 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -6377,7 +6377,7 @@ compute_tip_xy (struct frame *f, if (INTEGERP (left)) *root_x = XINT (left); else if (INTEGERP (right)) - *root_y = XINT (right) - width; + *root_x = XINT (right) - width; else if (*root_x + XINT (dx) <= min_x) *root_x = 0; /* Can happen for negative dx */ else if (*root_x + XINT (dx) + width <= max_x) |