Author: spetreolle
Date: Sat Nov 29 17:11:14 2008
New Revision: 37753
URL:
http://svn.reactos.org/svn/reactos?rev=37753&view=rev
Log:
add missing parenthesis in utf16le
Modified:
trunk/reactos/tools/utf16le/utf16le.cpp
Modified: trunk/reactos/tools/utf16le/utf16le.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/utf16le/utf16le.cpp?…
==============================================================================
--- trunk/reactos/tools/utf16le/utf16le.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/utf16le/utf16le.cpp [iso-8859-1] Sat Nov 29 17:11:14 2008
@@ -184,7 +184,7 @@
// 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;