diff --git a/mailnews/base/util/nsMsgDBFolder.cpp b/mailnews/base/util/nsMsgDBFolder.cpp index 9f70528cd77..9ea84a2c017 100644 --- a/mailnews/base/util/nsMsgDBFolder.cpp +++ b/mailnews/base/util/nsMsgDBFolder.cpp @@ -249,7 +249,7 @@ NS_IMETHODIMP nsMsgDBFolder::GetCharset(PRUnichar * *aCharset) char *prefCharset = nsnull; if (NS_SUCCEEDED(rv)) { - rv = prefs->CopyCharPref("mailnews.send_default_charset", &prefCharset); + rv = prefs->CopyCharPref("mailnews.view_default_charset", &prefCharset); } nsAutoString prefCharsetStr;