diff options
Diffstat (limited to 'filter/filter-part.c')
-rw-r--r-- | filter/filter-part.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/filter-part.c b/filter/filter-part.c index 1e8c74c3f4..5f8a53304a 100644 --- a/filter/filter-part.c +++ b/filter/filter-part.c @@ -489,15 +489,15 @@ filter_part_expand_code (FilterPart *ff, const char *source, GString *out) fe = filter_part_find_element (ff, name); d(printf("expand code: looking up variab le '%s' = %p\n", ff, name, fe)); if (fe) { - g_string_sprintfa (out, "%.*s", newstart-start, start); + g_string_append_printf (out, "%.*s", newstart-start, start); filter_element_format_sexp (fe, out); #if 0 } else if ((val = g_hash_table_lookup (ff->globals, name))) { - g_string_sprintfa (out, "%.*s", newstart-start, start); + g_string_append_printf (out, "%.*s", newstart-start, start); e_sexp_encode_string (out, val); #endif } else { - g_string_sprintfa (out, "%.*s", end-start+1, start); + g_string_append_printf (out, "%.*s", end-start+1, start); } start = end + 1; } |