Fix string conversion error message

master
est31 2015-06-23 15:04:14 +02:00
parent 17ba584fe2
commit 6f8bdda90e
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ std::string wide_to_utf8(const std::wstring &input)
if (!convert("UTF-8", "WCHAR_T", outbuf, outbuf_size, inbuf, inbuf_size)) {
infostream << "Couldn't convert wstring 0x" << hex_encode(inbuf, inbuf_size)
<< " into wstring" << std::endl;
<< " into UTF-8 string" << std::endl;
delete[] inbuf;
delete[] outbuf;
return "<invalid wstring>";