From: est31 Date: Tue, 23 Jun 2015 13:04:14 +0000 (+0200) Subject: Fix string conversion error message X-Git-Tag: 0.4.13~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6f8bdda90edce0b156ca8df25dea25cc6d7ad49c;p=oweals%2Fminetest.git Fix string conversion error message --- diff --git a/src/util/string.cpp b/src/util/string.cpp index e847f3a8e..36a9481c5 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -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 "";