Mercurial > vim
changeset 118:45fd0ec37cf3
updated for version 7.0042
author | vimboss |
---|---|
date | Wed, 19 Jan 2005 22:08:28 +0000 |
parents | d4ea645c7748 |
children | e8f07016e34d |
files | src/netbeans.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */