diff options
-rw-r--r-- | src/fcfreetype.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index c9c58c74..7773c836 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -80,13 +80,13 @@ */ static const struct { - int bit; - const FcChar8 *lang; + char bit; + const FcChar8 lang[6]; } FcCodePageRange[] = { - { 17, (const FcChar8 *) "ja" }, - { 18, (const FcChar8 *) "zh-cn" }, - { 19, (const FcChar8 *) "ko" }, - { 20, (const FcChar8 *) "zh-tw" }, + { 17, "ja" }, + { 18, "zh-cn" }, + { 19, "ko" }, + { 20, "zh-tw" }, }; #define NUM_CODE_PAGE_RANGE (int) (sizeof FcCodePageRange / sizeof FcCodePageRange[0]) |