Skip to content

Commit 6f8bdda

Browse files
committedJun 23, 2015
Fix string conversion error message
1 parent 17ba584 commit 6f8bdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/util/string.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ std::string wide_to_utf8(const std::wstring &input)
116116

117117
if (!convert("UTF-8", "WCHAR_T", outbuf, outbuf_size, inbuf, inbuf_size)) {
118118
infostream << "Couldn't convert wstring 0x" << hex_encode(inbuf, inbuf_size)
119-
<< " into wstring" << std::endl;
119+
<< " into UTF-8 string" << std::endl;
120120
delete[] inbuf;
121121
delete[] outbuf;
122122
return "<invalid wstring>";

0 commit comments

Comments
 (0)
Please sign in to comment.