Fix clang compile error (nw)

This commit is contained in:
Miodrag Milanovic 2016-03-23 18:25:32 +01:00
parent ba0a1d8d52
commit 6fcd60b271

View File

@ -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;