mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix clang compile error (nw)
This commit is contained in:
parent
ba0a1d8d52
commit
6fcd60b271
@ -117,7 +117,7 @@ int osd_uchar_from_osdchar(UINT32 *uchar, const char *osdchar, size_t count)
|
||||
// The multibyte char can't be bigger than the max character size
|
||||
count = MIN(count, cp.MaxCharSize);
|
||||
|
||||
if (!MultiByteToWideChar(CP_ACP, 0, osdchar, static_cast<DWORD>(count), &wch, 1) != 0)
|
||||
if (MultiByteToWideChar(CP_ACP, 0, osdchar, static_cast<DWORD>(count), &wch, 1) != 0)
|
||||
goto error;
|
||||
|
||||
*uchar = wch;
|
||||
|
Loading…
Reference in New Issue
Block a user