summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");