0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0042

This commit is contained in:
Bram Moolenaar
2005-01-19 22:08:28 +00:00
parent 9ef486dbf3
commit c92ad2e2c2

View File

@@ -2896,7 +2896,7 @@ netbeans_button_release(int button)
if (bufno >= 0 && curwin != NULL && curwin->w_buffer == curbuf) 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); long off = pos2off(curbuf, &curwin->w_cursor);
/* sync the cursor position */ /* sync the cursor position */