summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-01 00:50:29 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-01 00:50:29 +0300
commit4f14d10536cd593a332fccdf6b954b8020f0b8d2 (patch)
tree85d5d5d8ee8b43ede24e1a1172ff3a37d2aeb288 /messages.cpp
parentadfbd68fc806c2c1fa79e0e878d2ff76a76bee8b (diff)
modified: main.cpp
modified: messages.cpp modified: new_gpg.rc modified: options.cpp modified: resource.h
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/messages.cpp b/messages.cpp
index a73205d..4f2fa41 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -521,10 +521,10 @@ int TestHook(WPARAM w, LPARAM l)
static BOOL CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- HANDLE hContact = new_key_hcnt;
+ char *inkeyid = UniGetContactSettingUtf(new_key_hcnt, szGPGModuleName, "InKeyID", "");
CloseHandle(new_key_hcnt_mutex);
TCHAR *tmp = NULL;
- char *inkeyid = UniGetContactSettingUtf(hContact, szGPGModuleName, "InKeyID", "");
+
switch (msg)
{
case WM_INITDIALOG: