From 3cf8d370670232b9c3c61cc8dc241a9d0a26aa4e Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 16 May 2005 09:14:50 +0000 Subject: [PATCH] Change an assert to a WARN. --- dlls/riched20/run.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/riched20/run.c b/dlls/riched20/run.c index f3e44b3fbb1..2c8edb2b851 100644 --- a/dlls/riched20/run.c +++ b/dlls/riched20/run.c @@ -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)