Commit e6cee96d authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard

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

parent 69a27f45
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment