aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-23 15:04:14 +0200
committerest31 <MTest31@outlook.com>2015-06-23 15:04:14 +0200
commit6f8bdda90edce0b156ca8df25dea25cc6d7ad49c (patch)
tree6fedc92895a6fa1b4de40d8391d91138581d5387 /src/util/string.cpp
parent17ba584fe254eeaee3489cc20e03810a59f3ef9b (diff)
downloadminetest-6f8bdda90edce0b156ca8df25dea25cc6d7ad49c.tar.gz
minetest-6f8bdda90edce0b156ca8df25dea25cc6d7ad49c.tar.bz2
minetest-6f8bdda90edce0b156ca8df25dea25cc6d7ad49c.zip
Fix string conversion error message
Diffstat (limited to 'src/util/string.cpp')
-rw-r--r--src/util/string.cpp2
1 files changed, 1 insertions, 1 deletions
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 "<invalid wstring>";