OSDN Git Service

Fix bugs of DPI conversion.
[ffftp/ffftp.git] / hostman.c
index 88b58ec..996b7e7 100644 (file)
--- a/hostman.c
+++ b/hostman.c
@@ -1951,6 +1951,9 @@ static INT_PTR CALLBACK CodeSettingProc(HWND hDlg, UINT iMessage, WPARAM wParam,
                        SetRadioButtonByValue(hDlg, TmpHost.KanjiCode, KanjiButton, KANJIBUTTONS);\r
                        SendDlgItemMessage(hDlg, HSET_HANCNV, BM_SETCHECK, TmpHost.KanaCnv, 0);\r
                        SetRadioButtonByValue(hDlg, TmpHost.NameKanjiCode, NameKanjiButton, NAMEKANJIBUTTONS);\r
+                       // UTF-8 HFS+対応\r
+                       if(IsUnicodeNormalizationDllLoaded() == NO)\r
+                               EnableWindow(GetDlgItem(hDlg, HSET_FN_UTF8HFSX_CNV), FALSE);\r
                        SendDlgItemMessage(hDlg, HSET_FN_HANCNV, BM_SETCHECK, TmpHost.NameKanaCnv, 0);\r
                        return(TRUE);\r
 \r