mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-8268 Fixed use of & instead of &&.
X-SVN-Rev: 30737
This commit is contained in:
parent
7048d48b6e
commit
dc1f5c5a80
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2005 - 2010, International Business Machines Corporation and *
|
||||
* Copyright (C) 2005 - 2011, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ class CharsetRecog_UTF8 extends CharsetRecognizer {
|
|||
int confidence;
|
||||
|
||||
if (det.fRawLength >= 3 &&
|
||||
(input[0] & 0xFF) == 0xef && (input[1] & 0xFF) == 0xbb & (input[2] & 0xFF) == 0xbf) {
|
||||
(input[0] & 0xFF) == 0xef && (input[1] & 0xFF) == 0xbb && (input[2] & 0xFF) == 0xbf) {
|
||||
hasBOM = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue