From: David Lawrence Ramsey Date: Sat, 29 May 2004 03:03:52 +0000 (+0000) Subject: cosmetic fixes X-Git-Tag: v1.3.3~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9d325a03d94b1b8d42569a07e6129964874a41b0;p=nano.git cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;