From 8ce85a419b7d29cd44dc0164c22f3ecd3914fd71 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 30 Dec 2014 13:14:32 +0300 Subject: [PATCH] Ticket #3265: code cleanup before 4.8.14 release. (mc_search_regex__process_append_str): fix condition. Signed-off-by: Andrew Borodin --- lib/search/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;