Switch to side-by-side view
--- a/src/internfile/mh_mail.cpp +++ b/src/internfile/mh_mail.cpp @@ -540,8 +540,7 @@ !stringlowercmp("x-user-defined", charset) || !stringlowercmp("x-unknown", charset) || !stringlowercmp("unknown", charset) ) { - m_config->getConfParam("maildefcharset", charset); - if (charset.empty()) + if (!m_config->getConfParam("maildefcharset", charset)) charset = "CP1252"; }