SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213105 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
db2c6b1d24
commit
a6a5b3502e
@ -859,7 +859,7 @@ nsTextTransformer::GetNextWord(PRBool aInWord,
|
||||
// beginning of the buffer
|
||||
if (aResetTransformBuf) {
|
||||
mBufferPos = 0;
|
||||
SetTransformedTextIsAscii(LeaveAsAscii());
|
||||
SetTransformedTextIsAscii(LeaveAsAscii() && !HasMultibyte());
|
||||
}
|
||||
prevBufferPos = mBufferPos;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user