Fixed an off-by-one error in EM_GETLINECOUNT handler.

This commit is contained in:
Phil Krylov 2005-07-05 20:56:14 +00:00 committed by Alexandre Julliard
parent 69a27f457a
commit e6cee96df8
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) {
ME_WrapEndParagraph(&wc, p); ME_WrapEndParagraph(&wc, p);
tp->member.para.nFlags &= ~MEPF_REWRAP; tp->member.para.nFlags &= ~MEPF_REWRAP;
tp->member.para.nHeight = wc.pt.y; tp->member.para.nHeight = wc.pt.y;
tp->member.para.nRows = wc.nRow + 1; tp->member.para.nRows = wc.nRow;
} }