summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-24 12:47:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-24 12:47:23 +0000
commit04ea225a48f0fe836361882cb0f78e7b99ee582f (patch)
tree10c284c74489c884cb5888fa32259bde6b5c413a /plugins/New_GPG/src
parent9c8e399b431a9b0995efd24752a47efbe6e84ade (diff)
more useless conversions removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/main.cpp b/plugins/New_GPG/src/main.cpp
index 5117e2b418..a7eb35ca46 100755
--- a/plugins/New_GPG/src/main.cpp
+++ b/plugins/New_GPG/src/main.cpp
@@ -1354,7 +1354,7 @@ static INT_PTR CALLBACK DlgProcKeyGenDialog(HWND hwndDlg, UINT msg, WPARAM wPara
SetWindowText(hwndDlg, TranslateT("Key Generation dialog"));
ComboBoxAddStringUtf(GetDlgItem(hwndDlg, IDC_KEY_TYPE), _T("RSA"), 0);
ComboBoxAddStringUtf(GetDlgItem(hwndDlg, IDC_KEY_TYPE), _T("DSA"), 1);
- SendDlgItemMessage(hwndDlg, IDC_KEY_TYPE, CB_SETCURSEL, (WPARAM)1, 0);
+ SendDlgItemMessage(hwndDlg, IDC_KEY_TYPE, CB_SETCURSEL, 1, 0);
SetDlgItemInt(hwndDlg, IDC_KEY_EXPIRE_DATE, 0, 0);
SetDlgItemInt(hwndDlg, IDC_KEY_LENGTH, 4096, 0);
return TRUE;