[7/7] gdiplus: StringFormatFlagsLineLimit doesn't allow line wrapping. Resend.

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 19 22:08:34 CDT 2012


---
 dlls/gdiplus/graphics.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index e46cf48..7068534 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -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;
     }
 
-- 
1.7.11.5




More information about the wine-patches mailing list