зеркало из https://github.com/mozilla/gecko-dev.git
SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535, r+sr=rbs
This commit is contained in:
Родитель
54ed9e2a50
Коммит
bd9f9842af
|
@ -859,7 +859,7 @@ nsTextTransformer::GetNextWord(PRBool aInWord,
|
|||
// beginning of the buffer
|
||||
if (aResetTransformBuf) {
|
||||
mBufferPos = 0;
|
||||
SetTransformedTextIsAscii(LeaveAsAscii());
|
||||
SetTransformedTextIsAscii(LeaveAsAscii() && !HasMultibyte());
|
||||
}
|
||||
prevBufferPos = mBufferPos;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче