From: <man...@us...> - 2014-11-03 18:23:14
|
Revision: 4544 http://sourceforge.net/p/modplug/code/4544 Author: manxorist Date: 2014-11-03 18:23:01 +0000 (Mon, 03 Nov 2014) Log Message: ----------- [Fix] In r4516, building with MPT_USTRING_MODE_UTF8 broke. Revision Links: -------------- http://sourceforge.net/p/modplug/code/4516 Modified Paths: -------------- trunk/OpenMPT/mptrack/Moddoc.cpp Modified: trunk/OpenMPT/mptrack/Moddoc.cpp =================================================================== --- trunk/OpenMPT/mptrack/Moddoc.cpp 2014-11-03 18:03:46 UTC (rev 4543) +++ trunk/OpenMPT/mptrack/Moddoc.cpp 2014-11-03 18:23:01 UTC (rev 4544) @@ -918,7 +918,7 @@ if(!parent) parent = CMainFrame::GetMainFrame(); if(GetLog().size() > 0) { - std::wstring text = preamble + GetLogString(); + std::wstring text = preamble + mpt::ToWide(GetLogString()); std::wstring actualTitle = (title.length() == 0) ? MAINFRAME_TITLEW : title; switch(GetMaxLogLevel()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |