From 9d325a03d94b1b8d42569a07e6129964874a41b0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 29 May 2004 03:03:52 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/search.c | 4 ++-- src/winio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/search.c b/src/search.c index 15341fd7..adf0b55d 100644 --- 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 index df87bb54..ca2d6ad6 100644 --- 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; -- 2.39.5