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

This commit is contained in:
Eric Pouech 2008-07-12 10:36:21 +02:00 committed by Alexandre Julliard
parent d8a25fc26c
commit 6ef6f7167d
1 changed files with 2 additions and 0 deletions

View File

@ -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;