From: Adrian Robert Date: Mon, 15 Jun 2009 04:34:50 +0000 (+0000) Subject: (ns_get_covering_families): Retain scriptToFamilies. X-Git-Tag: emacs-pretest-23.0.95~53 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e41820ee6c6ff65668166931bdbf65c582fbb2fe;p=emacs.git (ns_get_covering_families): Retain scriptToFamilies. --- diff --git a/src/ChangeLog b/src/ChangeLog index 08ac6ceac9a..cc5d3d630b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -9,6 +9,7 @@ (ns_has_attribute): Shrink the normal range. (ns_findfonts): Don't worry about requested spec in determining need for synthItal. + (ns_get_covering_families): Retain scriptToFamilies. 2009-06-14 Seiji Zenitani diff --git a/src/nsfont.m b/src/nsfont.m index c5e73604e7a..68ed1e6dd36 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -397,7 +397,7 @@ static NSSet NSLog(@"Request covering families for script: '%@'", script); if (scriptToFamilies == nil) - scriptToFamilies = [NSMutableDictionary dictionaryWithCapacity: 30]; + scriptToFamilies = [[NSMutableDictionary alloc] init]; if ((families = [scriptToFamilies objectForKey: script]) == nil) {