From 43387d30ddeed84815c01a9268fea270ba52f245 Mon Sep 17 00:00:00 2001 From: "jshin%mailaps.org" Date: Mon, 4 Apr 2005 15:36:28 +0000 Subject: [PATCH] bug 288638 : get rid of unused member variable 'character' from MozXftLangGroup (r=blizzard, sr=dbaron) --- gfx/src/shared/nsFontConfigUtils.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/gfx/src/shared/nsFontConfigUtils.cpp b/gfx/src/shared/nsFontConfigUtils.cpp index a3346d9bf7c1..511d46033b99 100644 --- a/gfx/src/shared/nsFontConfigUtils.cpp +++ b/gfx/src/shared/nsFontConfigUtils.cpp @@ -41,19 +41,18 @@ struct MozXftLangGroup { const char *mozLangGroup; - FcChar32 character; const FcChar8 *XftLang; }; const MozXftLangGroup MozXftLangGroups[] = { - { "x-western", 0x0041, (const FcChar8 *)"en" }, - { "x-central-euro", 0x0100, (const FcChar8 *)"pl" }, - { "x-cyrillic", 0x0411, (const FcChar8 *)"ru" }, - { "x-baltic", 0x0104, (const FcChar8 *)"lv" }, - { "x-devanagari", 0x0905, (const FcChar8 *)"hi" }, - { "x-tamil", 0x0B85, (const FcChar8 *)"ta" }, - { "x-unicode", 0x0000, 0 }, - { "x-user-def", 0x0000, 0 }, + { "x-western", (const FcChar8 *)"en" }, + { "x-central-euro", (const FcChar8 *)"pl" }, + { "x-cyrillic", (const FcChar8 *)"ru" }, + { "x-baltic", (const FcChar8 *)"lv" }, + { "x-devanagari", (const FcChar8 *)"hi" }, + { "x-tamil", (const FcChar8 *)"ta" }, + { "x-unicode", 0 }, + { "x-user-def", 0 }, }; #define NUM_XFT_LANG_GROUPS (sizeof (MozXftLangGroups) / \