diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-04-18 19:13:34 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-04-18 19:21:39 +0300 |
commit | 210b764fc96e1d68990f1c57f5f99a065b7f4355 (patch) | |
tree | 1fa4f07a2ca0b035868ad38f020c1711f69b7fb5 /plugins/New_GPG/src/utilities.cpp | |
parent | c0a8d96fb0e4b9189d2b5f80a2db56fbbfcae7cb (diff) |
new_gpg: load key fix
get rid of global user_data variable, use one from globals
struct everywhere instead
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 40f4ae105d..53a9ec0edc 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -104,7 +104,7 @@ void GetFolderPath(wchar_t *WindowTittle) INT_PTR LoadKey(WPARAM w, LPARAM) { - globals.user_data[1] = (MCONTACT)w; + globals.user_data[(int)1] = (MCONTACT)w; ShowLoadPublicKeyDialog(); return 0; } |