Change an assert to a WARN.

This commit is contained in:
Michael Stefaniuc 2005-05-16 09:14:50 +00:00 committed by Alexandre Julliard
parent d17e2073be
commit 3cf8d37067
1 changed files with 2 additions and 1 deletions

View File

@ -517,7 +517,8 @@ void ME_CalcRunExtent(ME_Context *c, ME_Paragraph *para, ME_Run *run)
int nEnd = ME_StrVLen(run->strText);
SIZE size = ME_GetRunSizeCommon(c, para, run, nEnd, &run->nAscent, &run->nDescent);
run->nWidth = size.cx;
assert(size.cx);
if (!size.cx)
WARN("size.cx == 0\n");
}
void ME_MustBeWrapped(ME_Context *c, ME_DisplayItem *para)