Call wtf_init in sync_with_option

This commit is contained in:
Tatsuya Kinoshita
2023-01-12 20:34:01 +09:00
parent 5ffce08c61
commit d4e14f1b09
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -910,7 +910,6 @@ main(int argc, char **argv)
#endif /* not USE_HISTORY */
#ifdef USE_M17N
wtf_init(DocumentCharset, DisplayCharset);
/* if (w3m_dump)
* WcOption.pre_conv = WC_TRUE;
*/
+3
View File
@@ -1331,6 +1331,9 @@ sync_with_option(void)
AcceptMedia = acceptableMimeTypes();
#ifdef USE_UNICODE
update_utf8_symbol();
#endif
#ifdef USE_M17N
wtf_init(DocumentCharset, DisplayCharset);
#endif
if (fmInitialized) {
initKeymap(FALSE);