mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 02:34:30 +08:00
add missing parenthesis in utf16le
svn path=/trunk/; revision=37753
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user