mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
add missing parenthesis in utf16le
svn path=/trunk/; revision=37753
This commit is contained in:
parent
ef394b196f
commit
36859720df
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class utf_converter
|
|||
// upper 5 bits: data filled with 0
|
||||
if (tmp & 0x80)
|
||||
{
|
||||
if (tmp & 0xc0 != 0xc0)
|
||||
if ((tmp & 0xc0) != 0xc0)
|
||||
{
|
||||
cerr << "UTF-8 Error: invalid data byte" << endl;
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue