diff --git a/src/search.c b/src/search.c index ee105f8ef7dad979f4718ef93b7ff0d5750ec872..29ad8127c33a4d364cabfcf08b76fdb4eba49329 100644 --- a/src/search.c +++ b/src/search.c @@ -87,7 +87,7 @@ void not_found_msg(const char *str) numchars = strnlen(disp, COLS / 2); statusbar(_("\"%.*s%s\" not found"), numchars, disp, - disp[numchars] == '\0' ? "" : "..."); + (disp[numchars] == '\0') ? "" : "..."); free(disp); }