nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 75a29b749e2aa070f7d75acda2006fa81924f46d
parent 96452cb60cc55d35ccf60e25fc21040dec07d396
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue, 26 Jul 2005 14:26:47 +0000

more comment fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2942 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/winio.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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;