mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker...
This commit is contained in:
parent
e8a61c119b
commit
bc2c8b9809
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user