summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-09-21 21:40:29 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-09-21 21:40:29 +0000
commitb8db5b55fcfd40cf77fab8147f0067b9b045988d (patch)
treee4635b4eb422bc85283fbd3f987486a862e7974a /pango
parent2437d8fca72e6da68e08e855034178dcad4c1102 (diff)
downloadpango-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')
-rw-r--r--pango/fonts.c4
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;