diff options
-rwxr-xr-x | plugins/New_GPG/src/main.cpp | 2 |
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"); |