forked from Mirrorlandia_minetest/minetest
fix gettext compile issues under win32
This commit is contained in:
parent
86ef7147b6
commit
0930911efa
@ -56,7 +56,7 @@ inline wchar_t* chartowchar_t(const char *str)
|
|||||||
int nResult = MultiByteToWideChar( CP_UTF8, 0, (LPCSTR) str, -1, 0, 0 );
|
int nResult = MultiByteToWideChar( CP_UTF8, 0, (LPCSTR) str, -1, 0, 0 );
|
||||||
if( nResult == 0 )
|
if( nResult == 0 )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "error: MultiByteToWideChar returned null\n" );
|
errorstream<<"gettext: MultiByteToWideChar returned null"<<std::endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user