From 3d63381f9afff0c0ab785bcab87ccf99a7a23516 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Sun, 11 Jul 2010 19:51:26 +0100 Subject: [PATCH] bug 550443 - fix font enumeration for x-unicode language group. r=jdaggett --- gfx/thebes/gfxGDIFontList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/gfxGDIFontList.h b/gfx/thebes/gfxGDIFontList.h index 761a7786445a..15c4cce0497c 100644 --- a/gfx/thebes/gfxGDIFontList.h +++ b/gfx/thebes/gfxGDIFontList.h @@ -221,7 +221,7 @@ public: } virtual PRBool SupportsLangGroup(nsIAtom* aLangGroup) const { - if (!aLangGroup) { + if (!aLangGroup || aLangGroup == gfxAtoms::x_unicode) { return PR_TRUE; }