Fix some && within || warnings, no bug
This commit is contained in:
@@ -11110,7 +11110,7 @@ nsDocShell::AddURIVisit(nsIURI* aURI,
|
||||
// 408 is special cased, since may actually indicate a temporary
|
||||
// connection problem.
|
||||
else if (aResponseStatus != 408 &&
|
||||
(aResponseStatus >= 400 && aResponseStatus <= 501 ||
|
||||
((aResponseStatus >= 400 && aResponseStatus <= 501) ||
|
||||
aResponseStatus == 505)) {
|
||||
visitURIFlags |= IHistory::UNRECOVERABLE_ERROR;
|
||||
}
|
||||
|
||||
@@ -181,8 +181,8 @@ int32_t EUCJPContextAnalysis::GetOrder(const char* str, uint32_t *charLen)
|
||||
{
|
||||
//find out current char's byte length
|
||||
if ((unsigned char)*str == (unsigned char)0x8e ||
|
||||
(unsigned char)*str >= (unsigned char)0xa1 &&
|
||||
(unsigned char)*str <= (unsigned char)0xfe)
|
||||
((unsigned char)*str >= (unsigned char)0xa1 &&
|
||||
(unsigned char)*str <= (unsigned char)0xfe))
|
||||
*charLen = 2;
|
||||
else if ((unsigned char)*str == (unsigned char)0x8f)
|
||||
*charLen = 3;
|
||||
|
||||
Reference in New Issue
Block a user