projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ef714
)
fix gettext compile issues under win32
author
MetaDucky
<metaducky AT gmail DOT com>
Thu, 14 Nov 2013 19:09:37 +0000
(20:09 +0100)
committer
kwolekr
<kwolekr@minetest.net>
Tue, 19 Nov 2013 02:11:52 +0000
(21:11 -0500)
src/gettext.h
patch
|
blob
|
history
diff --git
a/src/gettext.h
b/src/gettext.h
index 862274a31d20542a2b88241d28a36f3b9f399721..02aa6979d5d2f06139a10e9a402c420b3c0cfc21 100644
(file)
--- a/
src/gettext.h
+++ b/
src/gettext.h
@@
-56,7
+56,7
@@
inline wchar_t* chartowchar_t(const char *str)
int nResult = MultiByteToWideChar( CP_UTF8, 0, (LPCSTR) str, -1, 0, 0 );
if( nResult == 0 )
{
-
fprintf( stderr, "error: MultiByteToWideChar returned null\n" )
;
+
errorstream<<"gettext: MultiByteToWideChar returned null"<<std::endl
;
}
else
{