Commit 6e63a478 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdiplus: StringFormatFlagsLineLimit doesn't allow line wrapping.

parent de6c150d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment