From 1b7929f553c40308ee6d2a81eac04393f86ce853 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Tue, 25 Mar 2003 22:04:15 +0000 Subject: [PATCH] OS/2 bustage --- gfx/src/os2/nsFontMetricsOS2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/src/os2/nsFontMetricsOS2.cpp b/gfx/src/os2/nsFontMetricsOS2.cpp index 63f2149a8f1..f34248b83d0 100644 --- a/gfx/src/os2/nsFontMetricsOS2.cpp +++ b/gfx/src/os2/nsFontMetricsOS2.cpp @@ -603,9 +603,9 @@ nsFontMetricsOS2::SetFontHandle( HPS aPS, nsFontOS2* aFont ) mLangGroup->GetUTF8String(&langGroup); for (int j=0; j < eCharset_COUNT; j++ ) { - if (name.get()[0] == gCharsetInfo[j].mLangGroup[0]) + if (langGroup.get()[0] == gCharsetInfo[j].mLangGroup[0]) { - if (!strcmp(name.get(), gCharsetInfo[j].mLangGroup)) + if (!strcmp(langGroup.get(), gCharsetInfo[j].mLangGroup)) { mConvertCodePage = gCharsetInfo[j].mCodePage; break;