summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2016-10-05 21:14:11 +0000
committerAlexander Gluzsky <sss123next@list.ru>2016-10-05 21:14:11 +0000
commitefa1427db1497c2ea6f110262f0e9859d2237aae (patch)
tree7410da4badff9e4f0b280c200b6b9351473f25ef /plugins
parent65014cc73c6f302923e2cf6f5c2b59f23e7884a3 (diff)
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
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/New_GPG/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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");