gdiplus: StringFormatFlagsLineLimit doesn't allow line wrapping.

oldstable
Dmitry Timoshkov 2012-08-20 12:08:34 +09:00 committed by Alexandre Julliard
parent de6c150d98
commit 6e63a478b3
1 changed files with 2 additions and 1 deletions

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;
}