From: David Lawrence Ramsey Date: Tue, 26 Jul 2005 14:26:47 +0000 (+0000) Subject: more comment fixes X-Git-Tag: v1.3.9~104 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=75a29b749e2aa070f7d75acda2006fa81924f46d;p=nano.git more comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2942 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;