diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-23 23:59:55 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-23 23:59:55 +0300 |
commit | 78f0ecedfbf15b6c093afc2d5ac159805fe9acda (patch) | |
tree | 457056963a01b2485be4f724df02d39c2a9e6f6a /options.cpp | |
parent | 538c201686084c9a8d575aec6d87faaeb1ffdf50 (diff) |
basic file transfer hook
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp index 6266c05..4412ea7 100644 --- a/options.cpp +++ b/options.cpp @@ -187,6 +187,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); return TRUE; } @@ -384,11 +385,12 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA case PSN_APPLY: { - extern bool bDebugLog, bJabberAPI; + extern bool bDebugLog, bJabberAPI, bFileTransfers; 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"); { TCHAR tmp[512]; GetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp, 512); |