diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-03-23 18:25:32 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-03-23 18:25:32 +0100 |
commit | 6fcd60b271ab1cfa9fe8993b3b311945337496e5 (patch) | |
tree | 77360529e53375be1debd327cade344e724994fb /src/osd/strconv.cpp | |
parent | ba0a1d8d5218804bc1d5b09d5b3fa8fcd537f0bf (diff) |
Fix clang compile error (nw)
Diffstat (limited to 'src/osd/strconv.cpp')
-rw-r--r-- | src/osd/strconv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/strconv.cpp b/src/osd/strconv.cpp index 2f4809e529d..d3b898cd492 100644 --- a/src/osd/strconv.cpp +++ b/src/osd/strconv.cpp @@ -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; |