Skip to content
Snippets Groups Projects
Commit c92ad2e2 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.0042

parent 9ef486db
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment