diff --git a/src/search.c b/src/search.c
index 15341fd7df7b81918e1f155a6bf8eee0499dd17b..adf0b55dc2236afb4ff166c8c9803dfadc971b65 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 df87bb54475cf3e6562c38465f42fa183fec280f..ca2d6ad6f91f4e3f50cd474f5be83f7cf0f53626 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;