Loweynet
リビジョン | 5b5ec56126af820b2d3c86e94ce4c056bf3b9904 (tree) |
---|---|
日時 | 2011-10-13 15:18:27 |
作者 | s_kawamoto <s_kawamoto@user...> |
コミッター | s_kawamoto |
Change default settings on migration from 1.97b.
@@ -821,6 +821,9 @@ int LoadRegistory(void) | ||
821 | 821 | Host.Pasv = NO; |
822 | 822 | Host.ListCmdOnly = NO; |
823 | 823 | } |
824 | + // 1.97b以前はデフォルトでShift_JIS | |
825 | + if(Version < 1980) | |
826 | + Host.NameKanjiCode = KANJI_SJIS; | |
824 | 827 | ReadIntValueFromReg(hKey5, "Set", &Host.Level); |
825 | 828 | |
826 | 829 | ReadStringFromReg(hKey5, "HostName", Host.HostName, HOST_NAME_LEN+1); |