projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ba584
)
Fix string conversion error message
author
est31
<MTest31@outlook.com>
Tue, 23 Jun 2015 13:04:14 +0000
(15:04 +0200)
committer
est31
<MTest31@outlook.com>
Tue, 23 Jun 2015 13:04:14 +0000
(15:04 +0200)
src/util/string.cpp
patch
|
blob
|
history
diff --git
a/src/util/string.cpp
b/src/util/string.cpp
index e847f3a8e605f75a80f06c0c46dd0ca28d5c8302..36a9481c5c337fcc2497894ed7149ed2d60e4eb3 100644
(file)
--- 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
w
string" << std::endl;
+ << " into
UTF-8
string" << std::endl;
delete[] inbuf;
delete[] outbuf;
return "<invalid wstring>";