Skip to content

Commit

Permalink
Fix string conversion error message
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 23, 2015
1 parent 17ba584 commit 6f8bdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/string.cpp
Expand Up @@ -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>";
Expand Down

0 comments on commit 6f8bdda

Please sign in to comment.