diff --git a/src/files.c b/src/files.c index 9eec78880ae1231192989ca108dfe555af22408c..c1c878fd6b2de91ca1e5101d3a47bca2928c5109 100644 --- a/src/files.c +++ b/src/files.c @@ -2527,6 +2527,7 @@ char *do_browser(char *path, DIR *dir) if (wenclose(edit, mevent.y, mevent.x)) { int old_selected = selected; + /* Subtract out the size of topwin. */ mevent.y -= 2 - no_more_space(); /* longest is the width of each column. There are diff --git a/src/nano.c b/src/nano.c index d0cdc1234c2dd5df8d65fb70171de645465added..b0ca75a60c047582d04ab15e8caa340d6370dc7f 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3900,8 +3900,7 @@ bool do_mouse(void) size_t xcur; /* The character they clicked on. */ - /* Subtract out the size of topwin. Perhaps we need a - * constant somewhere? */ + /* Subtract out the size of topwin. */ mouse_y -= 2 - no_more_space(); sameline = (mouse_y == current_y);