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;