Fixed an off-by-one error in EM_GETLINECOUNT handler.
This commit is contained in:
parent
69a27f457a
commit
e6cee96df8
|
@ -375,7 +375,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) {
|
|||
ME_WrapEndParagraph(&wc, p);
|
||||
tp->member.para.nFlags &= ~MEPF_REWRAP;
|
||||
tp->member.para.nHeight = wc.pt.y;
|
||||
tp->member.para.nRows = wc.nRow + 1;
|
||||
tp->member.para.nRows = wc.nRow;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue