richedit: Add an assert to point out what we're expecting.
This commit is contained in:
parent
d8a25fc26c
commit
6ef6f7167d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue