Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker...

This commit is contained in:
roc+@cs.cmu.edu 2007-05-30 17:06:31 -07:00
parent e8a61c119b
commit bc2c8b9809

View File

@ -164,7 +164,7 @@ nsLineBreaker::AppendText(nsIAtom* aLangGroup, const PRUnichar* aText, PRUint32
PRBool isSpace = IS_SPACE(ch);
breakState[offset] = mAfterSpace && !isSpace &&
(aFlags & (start == 0 ? BREAK_ALLOW_INITIAL : BREAK_ALLOW_INSIDE));
(aFlags & (offset == 0 ? BREAK_ALLOW_INITIAL : BREAK_ALLOW_INSIDE));
mAfterSpace = isSpace;
if (isSpace) {
@ -254,7 +254,7 @@ nsLineBreaker::AppendText(nsIAtom* aLangGroup, const PRUint8* aText, PRUint32 aL
PRBool isSpace = IS_SPACE(ch);
breakState[offset] = mAfterSpace && !isSpace &&
(aFlags & (start == 0 ? BREAK_ALLOW_INITIAL : BREAK_ALLOW_INSIDE));
(aFlags & (offset == 0 ? BREAK_ALLOW_INITIAL : BREAK_ALLOW_INSIDE));
mAfterSpace = isSpace;
if (isSpace) {