diff --git a/src/search.c b/src/search.c
index 05e7888d6b647eb7020430237e9e01ae345036e8..f312365aa75318f59dc963beb2c7843f3d8b3d01 100644
--- a/src/search.c
+++ b/src/search.c
@@ -415,9 +415,9 @@ bool findnextstr(bool can_display_wrap, bool wholeword, bool
 	current_x_find > beginx
 #endif
 	) {
-
 	if (can_display_wrap)
 	    not_found_msg(needle);
+
 	return FALSE;
     }