src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)

Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf. Declare extern for
    static arrays as arrays, not pointers. (Part of the fix for 'fonts
    don't have en' issue after Euro patch.)
(I forgot to commit the ChangeLog last time.)
reviewed by: plam
This commit is contained in:
Patrick Lam 2006-02-07 20:56:48 +00:00
parent a81f23c0ce
commit 6cc02fe6b9
2 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,28 @@
2006-02-07 Takashi Iwai <tiwai@suse.de>
reviewed by: plam
* src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
* fc-lang/fc-lang.c:
Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
Declare extern for static arrays as arrays, not pointers.
(Part of the fix for 'fonts don't have en' issue after Euro patch.)
2006-02-07 Dirk Mueller <dmueller@suse.com>
reviewed by: plam
* fc-lang/de.orth:
* fc-lang/el.orth:
* fc-lang/en.orth:
* fc-lang/es.orth:
* fc-lang/fi.orth:
* fc-lang/fr.orth:
* fc-lang/it.orth:
* fc-lang/nl.orth:
* fc-lang/pt.orth:
Add Euro sign to list of symbols required by European languages.
2006-02-07 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcCacheReadString):

View File

@ -51,9 +51,9 @@ FcLangCharSetPopulate (void)
int bi = FcCacheBankToIndexMTF (FC_BANK_LANGS);
FcCharSetEnsureBank (bi);
charsets[bi] = 0;
numbers[bi] = (FcChar16 *)&langBankNumbers;
leaves[bi] = (FcCharLeaf *)&langBankLeaves;
leaf_idx[bi] = (int *)&langBankLeafIdx;
numbers[bi] = (FcChar16 *)langBankNumbers;
leaves[bi] = (FcCharLeaf *)langBankLeaves;
leaf_idx[bi] = (int *)langBankLeafIdx;
}
FcCharSet *