mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix converter stream part of bug 638236. r=bzbarsky a2.0=blocking
CLOSED TREE
This commit is contained in:
parent
c9056fbe7c
commit
520b20fa0b
@ -254,7 +254,8 @@ nsConverterInputStream::Fill(nsresult * aErrorCode)
|
||||
NS_ASSERTION(srcConsumed <= mByteData->GetLength(),
|
||||
"Whoa. The converter should have returned NS_OK_UDEC_MOREINPUT before this point!");
|
||||
} while (mReplacementChar &&
|
||||
NS_FAILED(*aErrorCode));
|
||||
NS_FAILED(*aErrorCode) &&
|
||||
mUnicharData->GetBufferSize() > mUnicharDataLength);
|
||||
|
||||
mLeftOverBytes = mByteData->GetLength() - srcConsumed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user