diff options
-rw-r--r-- | pango/pangocoretext-fontmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c index 65be3560..1b64f626 100644 --- a/pango/pangocoretext-fontmap.c +++ b/pango/pangocoretext-fontmap.c @@ -291,7 +291,7 @@ ct_font_descriptor_get_weight (CTFontDescriptorRef desc) CFDictionaryRef dict; CFNumberRef cf_number; CGFloat value; - PangoWeight weight; + PangoWeight weight = PANGO_WEIGHT_NORMAL; dict = CTFontDescriptorCopyAttribute (desc, kCTFontTraitsAttribute); cf_number = (CFNumberRef)CFDictionaryGetValue (dict, |