summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/options.cpp
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2013-01-24 19:26:22 +0000
committerAlexander Gluzsky <sss123next@list.ru>2013-01-24 19:26:22 +0000
commit270ca4cfb74b5bbcff9402264bc476b9c79028c1 (patch)
tree3d286336b8125d4f415aa42bcc1a327a4ab84057 /plugins/New_GPG/src/options.cpp
parent30144e31da8cae86a7d3ab070f34b9f9ef79c2e5 (diff)
some memory allocation bugs fixed
enhanced key export/import git-svn-id: http://svn.miranda-ng.org/main/trunk@3267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/options.cpp')
-rwxr-xr-xplugins/New_GPG/src/options.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp
index 6b26457864..feea41b67a 100755
--- a/plugins/New_GPG/src/options.cpp
+++ b/plugins/New_GPG/src/options.cpp
@@ -720,6 +720,24 @@ static INT_PTR CALLBACK DlgProcGpgAdvOpts(HWND hwndDlg, UINT msg, WPARAM wParam,
case WM_COMMAND:
{
+ switch (LOWORD(wParam))
+ {
+ case IDC_EXPORT:
+ {
+ INT_PTR ExportGpGKeys(WPARAM w, LPARAM l);
+ ExportGpGKeys(NULL, NULL);
+ }
+ break;
+ case IDC_IMPORT:
+ {
+ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l);
+ ImportGpGKeys(NULL, NULL);
+ }
+ break;
+ default:
+ break;
+ }
+
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
}