many simplifications, copyright statements.
[apps/madmutt.git] / lib-mime / rfc2047.c
index 4900d7c..7162b47 100644 (file)
@@ -157,7 +157,7 @@ char *mutt_choose_charset(const char *fromcode, const char *charsets,
             p_delete(&res);
         }
 
             p_delete(&res);
         }
 
-        mutt_canonical_charset(buf, sizeof(buf), tocode);
+        charset_canonicalize(buf, sizeof(buf), tocode);
         m_strreplace(&tocode, buf);
     }
 
         m_strreplace(&tocode, buf);
     }