mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
fix gettext compile issues under win32
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user