From 1e89b20f6694d9c4b8eb52ce930edc8bf531c2e8 Mon Sep 17 00:00:00 2001 From: "jshin%mailaps.org" Date: Wed, 17 May 2006 02:34:46 +0000 Subject: [PATCH] additional check-in for bug 133615 (forgotten in the initial landing) r=yokoyama, sr=jag git-svn-id: svn://10.0.0.236/trunk@197504 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/pref/pref-charset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/suite/common/pref/pref-charset.js b/mozilla/suite/common/pref/pref-charset.js index 102ea356571..64636451b53 100644 --- a/mozilla/suite/common/pref/pref-charset.js +++ b/mozilla/suite/common/pref/pref-charset.js @@ -17,7 +17,7 @@ function Init() if (prefInt) { prefInt = prefInt.getService(Components.interfaces.nsIPref); - if (applicationArea.indexOf("mail") != -1) { + if (applicationArea == "mailedit") { pref_string_title = "intl.charsetmenu.mailedit"; } else { //default is the browser @@ -29,7 +29,7 @@ function Init() AddRemoveLatin1('add'); } - if (applicationArea.indexOf("mail") != -1) { // mailedit + if (applicationArea == "mailedit") { // mailedit LoadAvailableCharSets("NC:EncodersRoot"); } else { // browser, mailview, composer LoadAvailableCharSets("NC:DecodersRoot");