]> git.eshelyaron.com Git - emacs.git/commitdiff
(ns_get_covering_families): Retain scriptToFamilies.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 15 Jun 2009 04:34:50 +0000 (04:34 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 15 Jun 2009 04:34:50 +0000 (04:34 +0000)
src/ChangeLog
src/nsfont.m

index 08ac6ceac9aa8184b7ae05f222c2e389af96269d..cc5d3d630b03fa28d2a956d828b6b89ad19d72f7 100644 (file)
@@ -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  <zenitani@mac.com>
 
index c5e73604e7a747cd2cd6bbb689a89ddc2551eccc..68ed1e6dd360f3a91afa97f3b350900d2c1405f4 100644 (file)
@@ -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)
       {