VirtualBox

Changeset 13888 in vbox for trunk/src/libs/xpcom18a4/xpcom


Ignore:
Timestamp:
Nov 5, 2008 7:29:12 PM (16 years ago)
Author:
vboxsync
Message:

warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/string/src/nsReadableUtils.cpp

    r1 r13888  
    591591
    592592                  // non-character : EF BF [BE-BF] or F[0-7] [89AB]F BF [BE-BF]
    593                   if ( nonchar &&  ( !state &&  c < 0xBE ||
    594                        state == 1 && c != 0xBF  ||
    595                        state == 2 && 0x0F != (0x0F & c) ))
     593                  if ( nonchar &&  ( (!state &&  c < 0xBE) ||
     594                       (state == 1 && c != 0xBF)  ||
     595                       (state == 2 && 0x0F != (0x0F & c)) ))
    596596                     nonchar = PR_FALSE;
    597597
    598                   if ( !UTF8traits::isInSeq(c) || overlong && c <= olupper ||
    599                        surrogate && slower <= c || nonchar && !state )
     598                  if ( !UTF8traits::isInSeq(c) || (overlong && c <= olupper) ||
     599                       (surrogate && slower <= c) || (nonchar && !state) )
    600600                    return PR_FALSE; // Not UTF-8 string
    601601                  overlong = surrogate = PR_FALSE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette