summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/srmm.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-08 04:42:36 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-08 05:05:53 +0300
commitb3d3b95a16be5b1785681f0f6fdc3bcdb967a42e (patch)
treed507c610892797e467f8a0b1fc5d8b088b1e6bee /plugins/New_GPG/src/srmm.cpp
parent75f678d3a4f23536e2170582dabd740eb195fa17 (diff)
new_gpg: get rid of "extern chaos"
- moving ui related code to separated file, split definition and implementation of ui
Diffstat (limited to 'plugins/New_GPG/src/srmm.cpp')
-rwxr-xr-xplugins/New_GPG/src/srmm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/srmm.cpp b/plugins/New_GPG/src/srmm.cpp
index 80aea96aa5..b95491f38d 100755
--- a/plugins/New_GPG/src/srmm.cpp
+++ b/plugins/New_GPG/src/srmm.cpp
@@ -58,8 +58,8 @@ int __cdecl onIconPressed(WPARAM wParam, LPARAM lParam)
if(!isContactHaveKey(hContact))
{
void ShowLoadPublicKeyDialog(bool = false);
- item_num = 0; //black magic here
- user_data[1] = hContact;
+ globals.item_num = 0; //black magic here
+ globals.user_data[1] = hContact;
ShowLoadPublicKeyDialog();
}
else