From 9a3e1c58f051f6c116982186f695fede89655a9b Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 9 Jun 2010 02:06:37 +0000 Subject: [PATCH] Use an std::string for now when printing messages. Originally committed to SVN as r4467. --- aegisub/src/dialog_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_log.cpp b/aegisub/src/dialog_log.cpp index 5aa6ddfa1..e84ef314a 100644 --- a/aegisub/src/dialog_log.cpp +++ b/aegisub/src/dialog_log.cpp @@ -119,7 +119,7 @@ void LogWindow::EmitLog::Write(agi::log::SinkMessage *sm) { sm->file, sm->func, sm->line, - sm->message); + std::string(sm->message, sm->len)); #endif text_ctrl->AppendText(log); }