diff --git a/lib/search/regex.c b/lib/search/regex.c index 5bcb6e41c..0a734ff59 100644 --- a/lib/search/regex.c +++ b/lib/search/regex.c @@ -556,7 +556,7 @@ mc_search_regex__process_append_str (GString * dest_str, const char *from, gsize if (len == (gsize) (-1)) len = strlen (from); - if ((*replace_flags == REPLACE_T_NO_TRANSFORM) != 0) + if (*replace_flags == REPLACE_T_NO_TRANSFORM) { g_string_append_len (dest_str, from, len); return;