r=ftang; fixed off by one error that made return value oPrev inconsistent

This commit is contained in:
kipp%netscape.com 1999-10-19 23:06:27 +00:00
parent c4dba8ca2e
commit 94ea102a2b

View File

@ -480,7 +480,7 @@ NS_IMETHODIMP nsJISx4501LineBreaker::Prev(
}
if(GetPair(c1, c2)) {
*oPrev = cur - 1;
*oPrev = cur;
*oNeedMoreText = PR_FALSE;
return NS_OK;
}