fix mouse support breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2930 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-25 20:08:18 +00:00
parent 22ae034f2d
commit c35e351dd0
1 changed files with 2 additions and 2 deletions

View File

@ -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