From a01690c410f63db824e598e2f3a95a3d9fc17602 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 15 Jun 2005 07:38:25 +0000
Subject: [PATCH] comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/files.c | 1 +
 src/nano.c  | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c
index 9eec7888..c1c878fd 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 d0cdc123..b0ca75a6 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);
-- 
GitLab