diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-16 14:27:12 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-16 14:27:12 +0000 |
commit | 18c465609fdf67cc12a52a8990ee2bf5e97716a4 (patch) | |
tree | c66e30b49361c960f0bd47ca3b078e4cb28d1f46 /pango/fonts.c | |
parent | 74e502e029aa1933b346235ba16e079a976a5f22 (diff) | |
download | pango-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/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
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; |