summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-19 22:08:28 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-19 22:08:28 +0000
commitc92ad2e2c2451365d25d84c52dbcbac811797171 (patch)
treed79a29f783a529da5b05210c8f42d7ddc05c986c /src/netbeans.c
parent9ef486dbf367500876987f54d5b80ddb3fc3bd41 (diff)
downloadvim-c92ad2e2c2451365d25d84c52dbcbac811797171.zip
updated for version 7.0042
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index b51ddfbd3..159058152 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2896,7 +2896,7 @@ netbeans_button_release(int button)
if (bufno >= 0 && curwin != NULL && curwin->w_buffer == curbuf)
{
- int col = mouse_col - curwin->w_wincol - (curwin->w_p_nu ? 9 : 1);
+ int col = mouse_col - W_WINCOL(curwin) - (curwin->w_p_nu ? 9 : 1);
long off = pos2off(curbuf, &curwin->w_cursor);
/* sync the cursor position */