gdiplus: StringFormatFlagsLineLimit doesn't allow line wrapping.

This commit is contained in:
Dmitry Timoshkov 2012-08-20 12:08:34 +09:00 committed by Alexandre Julliard
parent de6c150d98
commit 6e63a478b3

View File

@ -4864,7 +4864,8 @@ GpStatus gdip_format_string(HDC hdc,
break;
/* Stop if this was a linewrap (but not if it was a linebreak). */
if((lret == fitcpy) && format && (format->attr & StringFormatFlagsNoWrap))
if ((lret == fitcpy) && format &&
(format->attr & (StringFormatFlagsNoWrap | StringFormatFlagsLineLimit)))
break;
}