summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/PlainHtmlExport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/PlainHtmlExport.cpp')
-rw-r--r--plugins/BasicHistory/src/PlainHtmlExport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/PlainHtmlExport.cpp b/plugins/BasicHistory/src/PlainHtmlExport.cpp
index 006782e96a..b2f4d9b1a8 100644
--- a/plugins/BasicHistory/src/PlainHtmlExport.cpp
+++ b/plugins/BasicHistory/src/PlainHtmlExport.cpp
@@ -85,7 +85,7 @@ void PlainHtmlExport::WriteMessage(bool isMe, const std::wstring &longDate, cons
TCHAR *id = isMe ? _T("out") : _T("inc");
TCHAR* ev = (isMe ? _T("1") : _T("0"));
bool isUrl = false;
- std::wstring& mes = UrlHighlightHtml(MakeTextHtmled(message), isUrl);
+ std::wstring mes = UrlHighlightHtml(MakeTextHtmled(message), isUrl);
if (isUrl)
ev = _T("2");
EXP_FILE << _T("<div class=mes id=event") << ev << _T(">\n");