summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-01-16 14:27:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-01-16 14:27:12 +0000
commit18c465609fdf67cc12a52a8990ee2bf5e97716a4 (patch)
treec66e30b49361c960f0bd47ca3b078e4cb28d1f46 /pango
parent74e502e029aa1933b346235ba16e079a976a5f22 (diff)
downloadpango-18c465609fdf67cc12a52a8990ee2bf5e97716a4.tar.gz
Initialize the static_family field. (Fix from Zack Rusin)
Wed Jan 16 09:25:34 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_from_string): Initialize the static_family field. (Fix from Zack Rusin)
Diffstat (limited to 'pango')
-rw-r--r--pango/fonts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index a3f8cee5..7c1c79b6 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -811,6 +811,8 @@ pango_font_description_from_string (const char *str)
PANGO_FONT_MASK_STRETCH;
desc->family_name = NULL;
+ desc->static_family = FALSE;
+
desc->style = PANGO_STYLE_NORMAL;
desc->weight = PANGO_WEIGHT_NORMAL;
desc->variant = PANGO_VARIANT_NORMAL;