summaryrefslogtreecommitdiff
path: root/pango/testfonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/testfonts.c')
-rw-r--r--pango/testfonts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/testfonts.c b/pango/testfonts.c
index e387eee8..133b9181 100644
--- a/pango/testfonts.c
+++ b/pango/testfonts.c
@@ -91,7 +91,7 @@ int main (int argc, char **argv)
/* try to load some fonts often hardcoded */
for (i = 0; i < G_N_ELEMENTS (std_fonts); i++)
{
- PangoFontDescription *desc = pango_font_description_from_string("Sans 12");
+ PangoFontDescription *desc = pango_font_description_from_string(std_fonts[i]);
/* spits warnings if font cannot be loaded */
font = pango_font_map_load_font (fontmap, context, desc);