mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #3265: code cleanup before 4.8.14 release.
(mc_search_regex__process_append_str): fix condition. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3ce901021d
commit
8ce85a419b
@ -556,7 +556,7 @@ mc_search_regex__process_append_str (GString * dest_str, const char *from, gsize
|
|||||||
if (len == (gsize) (-1))
|
if (len == (gsize) (-1))
|
||||||
len = strlen (from);
|
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);
|
g_string_append_len (dest_str, from, len);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user