summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-11 13:26:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-11 13:26:56 +0300
commit6bb048378e2b73c908f4512d9a925e736bd44fda (patch)
tree59fa9ffce6e00d82c3b6254b7e5d2cdcde3bdb89 /plugins/New_GPG/src
parent383409527e474e83078178f5e80975b64fb5ffcf (diff)
CCtrlCombo::GetCurData = suitable helper for combo boxes
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/ui.cpp b/plugins/New_GPG/src/ui.cpp
index ee7cc2e65a..fb4b67d348 100755
--- a/plugins/New_GPG/src/ui.cpp
+++ b/plugins/New_GPG/src/ui.cpp
@@ -789,7 +789,7 @@ public:
CMStringW keyinfo = TranslateT("key ID");
keyinfo += ": ";
- m_szCurrAcc = (const char *)pCombo->GetItemData(pCombo->GetCurSel());
+ m_szCurrAcc = (const char *)pCombo->GetCurData();
if (m_szCurrAcc == nullptr) {
keyinfo += g_plugin.getMStringW("KeyID", TranslateT("not set"));
}