summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/log.cpp')
-rwxr-xr-xplugins/New_GPG/src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/log.cpp b/plugins/New_GPG/src/log.cpp
index 24f6af9c1a..8f198c8561 100755
--- a/plugins/New_GPG/src/log.cpp
+++ b/plugins/New_GPG/src/log.cpp
@@ -64,7 +64,7 @@ logtofile& logtofile::operator<<(wstring buf)
mir_cslock l(csLock);
log.open(path, std::ios::app | std::ios::ate);
- log << buf;
+ log << T2Utf(buf.c_str());
log << "\n";
log.close();
return *this;