mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
assume log strings are utf-8, as they may contain dict letters
This commit is contained in:
parent
7966f20829
commit
6d44cfa7fc
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void
|
|||
XP_LOGW( const XP_UCHAR* prefix, const wchar_t* arg )
|
||||
{
|
||||
XP_UCHAR buf[512];
|
||||
(void)WideCharToMultiByte( CP_ACP, 0, arg, -1,
|
||||
(void)WideCharToMultiByte( CP_UTF8, 0, arg, -1,
|
||||
buf, sizeof(buf), NULL, NULL );
|
||||
XP_LOGF( "%s: %s", prefix, buf );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue