diff options
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp index 99d23f6..734a591 100644 --- a/options.cpp +++ b/options.cpp @@ -94,6 +94,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA LVITEM item = {0}; TCHAR *tmp = NULL; char *tmp2 = NULL; + extern bool bIsMiranda09; NMLISTVIEW * hdr = (NMLISTVIEW *) lParam; switch (msg) { @@ -173,7 +174,9 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA SetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, (_tcslen(tmp) > 1)?tmp:_T("c:\\GPGdebug.log")); mir_free(tmp); CheckStateLoadDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog", 0); - CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); + EnableWindow(GetDlgItem(hwndDlg, IDC_JABBER_API), bIsMiranda09); + if(bIsMiranda09) + CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); return TRUE; } |