Commit c35e351d authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix mouse support breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2930 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 22ae034f
Showing with 2 additions and 2 deletions
+2 -2
......@@ -1743,9 +1743,9 @@ bool do_mouse(void)
openfile->current->prev != NULL; openfile->current_y--)
openfile->current = openfile->current->prev;
openfile->placewewant = xplustabs();
openfile->current_x = actual_x(openfile->current->data,
get_page_start(openfile->placewewant + mouse_x));
get_page_start(xplustabs() + mouse_x));
openfile->placewewant = xplustabs();
#ifndef NANO_SMALL
/* Clicking where the cursor is toggles the mark, as does
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment