summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-27 07:46:37 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-27 07:46:37 +0300
commit1f4c1f489f05bb135c8df93d40db9bb624be969d (patch)
treebd214f55f5932a60217a848868b9b4cb6fcd9df1 /options.cpp
parentc7417593521a2a96442e97508354e32f502bd931 (diff)
key autoexchange implementation started
Diffstat (limited to 'options.cpp')
-rw-r--r--options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp
index babaad1..948e5ac 100644
--- a/options.cpp
+++ b/options.cpp
@@ -188,6 +188,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
if(bIsMiranda09)
CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1);
CheckStateLoadDB(hwndDlg, IDC_FILE_TRANSFERS, "bFileTransfers", 1);
+ CheckStateLoadDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange", 0);
return TRUE;
}
@@ -389,12 +390,13 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
case PSN_APPLY:
{
- extern bool bDebugLog, bJabberAPI, bFileTransfers;
+ extern bool bDebugLog, bJabberAPI, bFileTransfers, bAutoExchange;
bDebugLog = CheckStateStoreDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog");
if(bDebugLog)
debuglog.init();
bJabberAPI = CheckStateStoreDB(hwndDlg, IDC_JABBER_API, "bJabberAPI");
bFileTransfers = CheckStateStoreDB(hwndDlg, IDC_FILE_TRANSFERS, "bFileTransfers");
+ bAutoExchange = CheckStateStoreDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange");
{
TCHAR tmp[512];
GetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp, 512);