From d385efebe356aebb92376fcd9c796a636df4be9a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 20 Aug 2010 11:45:24 +0300 Subject: modified: init.cpp modified: messages.cpp modified: new_gpg.rc modified: options.cpp modified: resource.h modified: utilities.cpp --- options.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'options.cpp') diff --git a/options.cpp b/options.cpp index b2692c1..8e01742 100644 --- a/options.cpp +++ b/options.cpp @@ -173,6 +173,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA SetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp); mir_free(tmp); CheckStateLoadDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog", 0); + CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); return TRUE; } @@ -300,8 +301,9 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA case PSN_APPLY: { - extern bool bDebugLog; + extern bool bDebugLog, bJabberAPI; bDebugLog = CheckStateStoreDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog"); + bJabberAPI = CheckStateStoreDB(hwndDlg, IDC_JABBER_API, "bJabberAPI"); { TCHAR tmp[512]; GetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp, 512); -- cgit v1.2.3