Skip to content
Snippets Groups Projects
Commit 6f8bdda9 authored by est31's avatar est31
Browse files

Fix string conversion error message

parent 17ba584f
Branches
Tags
No related merge requests found
......@@ -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>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment