mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
r=ftang; fixed off by one error that made return value oPrev inconsistent
This commit is contained in:
parent
c4dba8ca2e
commit
94ea102a2b
@ -480,7 +480,7 @@ NS_IMETHODIMP nsJISx4501LineBreaker::Prev(
|
||||
}
|
||||
|
||||
if(GetPair(c1, c2)) {
|
||||
*oPrev = cur - 1;
|
||||
*oPrev = cur;
|
||||
*oNeedMoreText = PR_FALSE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user