mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
(mc_search__cond_struct_new_regex_accum_append): minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d119439a1c
commit
fbdf3adfbf
@ -188,7 +188,7 @@ mc_search__cond_struct_new_regex_accum_append (const char *charset, GString * st
|
||||
g_free (one_char);
|
||||
}
|
||||
|
||||
g_string_append (str_to, recoded_part->str);
|
||||
g_string_append_len (str_to, recoded_part->str, recoded_part->len);
|
||||
g_string_free (recoded_part, TRUE);
|
||||
g_string_set_size (str_from, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user