From c92ad2e2c2451365d25d84c52dbcbac811797171 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Wed, 19 Jan 2005 22:08:28 +0000 Subject: [PATCH] updated for version 7.0042 --- src/netbeans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netbeans.c b/src/netbeans.c index b51ddfbd34..1590581526 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 */ -- GitLab