int fit = 0;
HGDIOBJ hOldFont;
SIZE sz;
- if (!run->strText->nLen)
+ if (!run->strText->nLen || cx <= 0)
return 0;
if (run->nFlags & MERF_TAB ||
ME_Context c;
HGDIOBJ hOldFont;
SIZE sz, sz2, sz3;
- if (!run->strText->nLen)
+ if (!run->strText->nLen || cx <= 0)
return 0;
if (run->nFlags & (MERF_TAB | MERF_ENDCELL))