diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-09-21 21:40:29 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-09-21 21:40:29 +0000 |
commit | b8db5b55fcfd40cf77fab8147f0067b9b045988d (patch) | |
tree | e4635b4eb422bc85283fbd3f987486a862e7974a /pango/fonts.c | |
parent | 2437d8fca72e6da68e08e855034178dcad4c1102 (diff) | |
download | pango-b8db5b55fcfd40cf77fab8147f0067b9b045988d.tar.gz |
pango/fonts.c (append_field, pango_font_description_to_string):
replace g_string_sprintfa by g_string_printfa.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index cb997955..fb9d5bd0 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -901,7 +901,7 @@ append_field (GString *str, FieldMap *map, int n_elements, int val) if (str->len > 0 || str->str[str->len -1] != ' ') g_string_append_c (str, ' '); - g_string_sprintfa (str, "%d", val); + g_string_printfa (str, "%d", val); } /** @@ -949,7 +949,7 @@ pango_font_description_to_string (const PangoFontDescription *desc) /* FIXME: %g is not right here. We need to always use '. */ - g_string_sprintfa (result, "%g", (double)desc->size / PANGO_SCALE); + g_string_printfa (result, "%g", (double)desc->size / PANGO_SCALE); } str = result->str; |