comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-15 07:38:25 +00:00
parent ff1a0ea32b
commit a01690c410
2 changed files with 2 additions and 2 deletions

View File

@ -2527,6 +2527,7 @@ char *do_browser(char *path, DIR *dir)
if (wenclose(edit, mevent.y, mevent.x)) { if (wenclose(edit, mevent.y, mevent.x)) {
int old_selected = selected; int old_selected = selected;
/* Subtract out the size of topwin. */
mevent.y -= 2 - no_more_space(); mevent.y -= 2 - no_more_space();
/* longest is the width of each column. There are /* longest is the width of each column. There are

View File

@ -3900,8 +3900,7 @@ bool do_mouse(void)
size_t xcur; size_t xcur;
/* The character they clicked on. */ /* The character they clicked on. */
/* Subtract out the size of topwin. Perhaps we need a /* Subtract out the size of topwin. */
* constant somewhere? */
mouse_y -= 2 - no_more_space(); mouse_y -= 2 - no_more_space();
sameline = (mouse_y == current_y); sameline = (mouse_y == current_y);