(mc_search__cond_struct_new_regex_accum_append): minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-08-09 11:42:06 +04:00
parent d119439a1c
commit fbdf3adfbf

View File

@ -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);
}