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 /main.cpp | |
parent | 600b2da3d6e94cb4f0b78a82c66c6c324a8446ee (diff) |
modified: main.cpp
modified: new_gpg.rc
modified: options.cpp
modified: resource.h
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -25,6 +25,7 @@ HWND hwndFirstRun = NULL, hwndSetDirs = NULL, hwndNewKey = NULL, hwndKeyGen = NU int itemnum = 0; HWND hwndList_g = NULL; +BOOL CheckStateStoreDB(HWND hwndDlg, int idCtrl, const char* szSetting); static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lParam) { @@ -224,6 +225,7 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM } delete [] name; } + bAutoExchange = CheckStateStoreDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange"); DestroyWindow(hwndDlg); break; case IDC_OTHER: @@ -480,8 +482,8 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM SetWindowText(hwndCurKey_p, path.c_str()); } } + bAutoExchange = CheckStateStoreDB(hwndDlg, IDC_AUTO_EXCHANGE, "bAutoExchange"); DestroyWindow(hwndDlg); - //use new key break; } break; |