summaryrefslogtreecommitdiff
path: root/src/popupmnu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
commitc236c16d0884c7d6cdc4dbaddb8cb3992085f83e (patch)
tree7d87344cdf07b6b9234abe26ccef39fbbee54f63 /src/popupmnu.c
parentb316376b4893ac3ae62f7f33c483b28b7fc147c0 (diff)
downloadvim-git-c236c16d0884c7d6cdc4dbaddb8cb3992085f83e.tar.gz
updated for version 7.2b-000v7.2b.000
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r--src/popupmnu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c
index fcc7d851e..10a5edf27 100644
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -183,11 +183,10 @@ redo:
/* Calculate column */
#ifdef FEAT_RIGHTLEFT
if (curwin->w_p_rl)
- col = W_WINCOL(curwin) + W_WIDTH(curwin) - curwin->w_wcol -
- curwin->w_leftcol - 1;
+ col = W_WINCOL(curwin) + W_WIDTH(curwin) - curwin->w_wcol - 1;
else
#endif
- col = W_WINCOL(curwin) + curwin->w_wcol - curwin->w_leftcol;
+ col = W_WINCOL(curwin) + curwin->w_wcol;
/* if there are more items than room we need a scrollbar */
if (pum_height < size)