diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-29 05:19:01 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-29 05:19:01 +0300 |
commit | e1879c22c4608a7b0f33a5989ab0925fc9503679 (patch) | |
tree | 1b6303be3af8228a3892e7977d7645be5b118bee /options.cpp | |
parent | 600b2da3d6e94cb4f0b78a82c66c6c324a8446ee (diff) |
modified: main.cpp
modified: new_gpg.rc
modified: options.cpp
modified: resource.h
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options.cpp b/options.cpp index 22edd1c..246be86 100644 --- a/options.cpp +++ b/options.cpp @@ -22,14 +22,14 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA static BOOL CALLBACK DlgProcGpgBinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); static BOOL CALLBACK DlgProcGpgMsgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -static BOOL CheckStateLoadDB(HWND hwndDlg, int idCtrl, const char* szSetting, BYTE bDef) +BOOL CheckStateLoadDB(HWND hwndDlg, int idCtrl, const char* szSetting, BYTE bDef) { BOOL state = DBGetContactSettingByte(NULL, szGPGModuleName, szSetting, bDef); CheckDlgButton(hwndDlg, idCtrl, state); return state; } -static BOOL CheckStateStoreDB(HWND hwndDlg, int idCtrl, const char* szSetting) +BOOL CheckStateStoreDB(HWND hwndDlg, int idCtrl, const char* szSetting) { BOOL state = IsDlgButtonChecked(hwndDlg, idCtrl); DBWriteContactSettingByte(NULL, szGPGModuleName, szSetting, (BYTE)state); |