Branch: Tag:

2013-06-02

2013-06-02 22:57:32 by Martin Nilsson <nilsson@opera.com>

Added missed flags and did a small code abbreviation. It is worrying that the testsuite did not pick this up.

2054:    ret->max = amax;    return;    } -  if( (aflags & STRING_CONTENT_CHECKED) && (b->flags & STRING_CONTENT_CHECKED) ) +  if( aflags & b->flags & STRING_CONTENT_CHECKED )    {    ret->min = MIN( amin, b->min );    ret->max = MAX( amax, b->max );
2063:    else    ret->flags &= ~STRING_CONTENT_CHECKED;    -  ret->flags = ~(STRING_IS_LOWERCASE | STRING_IS_UPPERCASE) | +  ret->flags = (ret->flags & ~(STRING_IS_LOWERCASE | STRING_IS_UPPERCASE)) |    (aflags & b->flags);   }