From 210b764fc96e1d68990f1c57f5f99a065b7f4355 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 18 Apr 2019 19:13:34 +0300 Subject: new_gpg: load key fix get rid of global user_data variable, use one from globals struct everywhere instead --- plugins/New_GPG/src/utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/New_GPG/src/utilities.cpp') 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; } -- cgit v1.2.3