From 75a29b749e2aa070f7d75acda2006fa81924f46d Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 26 Jul 2005 14:26:47 +0000
Subject: [PATCH] more comment fixes

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

diff --git a/src/winio.c b/src/winio.c
index 9d6b47e7..54fcdbc8 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -3563,7 +3563,7 @@ void edit_scroll(updown direction, int nlines)
 }
 
 /* Update any lines between old_current and current that need to be
- * updated. */
+ * updated.  Use this if we've moved without changing any text. */
 void edit_redraw(const filestruct *old_current, size_t old_pww)
 {
     bool do_redraw = need_vertical_update(0) ||
@@ -3605,7 +3605,8 @@ void edit_redraw(const filestruct *old_current, size_t old_pww)
 	update_line(openfile->current, openfile->current_x);
 }
 
-/* Refresh the screen without changing the position of lines. */
+/* Refresh the screen without changing the position of lines.  Use this
+ * if we've moved and changed text. */
 void edit_refresh(void)
 {
     const filestruct *foo;
-- 
GitLab