Commit 6ef6f716 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

richedit: Add an assert to point out what we're expecting.

parent d8a25fc2
......@@ -656,6 +656,8 @@ void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) {
y += bounds.top;
break;
case diStartRow:
/* we should have seen a diParagraph before */
assert(para);
y += height;
rcPara.top = y;
rcPara.bottom = y+p->member.row.nHeight;
......
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