mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
gdiplus: StringFormatFlagsLineLimit doesn't allow line wrapping.
This commit is contained in:
parent
de6c150d98
commit
6e63a478b3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user