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