From efa1427db1497c2ea6f110262f0e9859d2237aae Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Wed, 5 Oct 2016 21:14:11 +0000 Subject: plugins: new_gpg: fixed bug introduced by incomplete porting to ptrW in import public key function git-svn-id: http://svn.miranda-ng.org/main/trunk@17354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/New_GPG/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/New_GPG/src/main.cpp b/plugins/New_GPG/src/main.cpp index ac80248efa..60c12c1879 100755 --- a/plugins/New_GPG/src/main.cpp +++ b/plugins/New_GPG/src/main.cpp @@ -2135,7 +2135,7 @@ void ImportKey() ptmp = UniGetContactSettingUtf(hContact, szGPGModuleName, "GPGPubKey", L""); wfstream f(tmp2, std::ios::out); - f << ptmp; + f << ptmp.get(); f.close(); cmd.push_back(L"--batch"); cmd.push_back(L"--import"); -- cgit v1.2.3