nano

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

commit 9d325a03d94b1b8d42569a07e6129964874a41b0
parent 32e3b88e09030d041119eea1b8e5f932b1d17304
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 29 May 2004 03:03:52 +0000

cosmetic fixes


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

Diffstat:
Msrc/search.c | 4++--
Msrc/winio.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/search.c b/src/search.c @@ -74,8 +74,8 @@ void not_found_msg(const char *str) int numchars = actual_x(str, COLS / 2); assert(str != NULL); - statusbar(_("\"%.*s%s\" not found"), numchars, str, str[numchars] == - '\0' ? "" : "..."); + statusbar(_("\"%.*s%s\" not found"), numchars, str, + str[numchars] == '\0' ? "" : "..."); } void search_abort(void) diff --git a/src/winio.c b/src/winio.c @@ -2659,7 +2659,7 @@ void edit_refresh(void) #endif while (nlines < editwinrows) { - update_line(foo, (foo == current) ? current_x : 0); + update_line(foo, foo == current ? current_x : 0); nlines++; if (foo->next == NULL) break;