nano

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

commit 5a8995a0977498544bcb4935ab536fe18d8bb511
parent 32613fa3f69a2e25ae62692b7503d69e04ebd4e2
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 24 May 2004 19:47:08 +0000

per DB's patch, remove the now-unused edit_refresh_clearok()


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

Diffstat:
MChangeLog | 2++
Msrc/proto.h | 1-
Msrc/winio.c | 9---------
3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -271,6 +271,8 @@ CVS code - right place. edit_refresh() - Remove apparently unneeded leaveok() calls. (David Benbennick) + edit_refresh_clearok() + - Removed, as it's now unnecessary. (David Benbennick) statusbar() - Call reset_cursor() just before refreshing the edit window, so that slang and other non-ncurses versions of curses will diff --git a/src/proto.h b/src/proto.h @@ -516,7 +516,6 @@ void update_line(const filestruct *fileptr, size_t index); void update_cursor(void); void center_cursor(void); void edit_refresh(void); -void edit_refresh_clearok(void); void edit_update(filestruct *fileptr, topmidnone location); int statusq(int allowtabs, const shortcut *s, const char *def, #ifndef NANO_SMALL diff --git a/src/winio.c b/src/winio.c @@ -2266,15 +2266,6 @@ void edit_refresh(void) } } -/* Same as above, but touch the window first, so everything is - * redrawn. */ -void edit_refresh_clearok(void) -{ - clearok(edit, TRUE); - edit_refresh(); - clearok(edit, FALSE); -} - /* Nice generic routine to update the edit buffer, given a pointer to the * file struct =) */ void edit_update(filestruct *fileptr, topmidnone location)