gdiplus: Filter tabs out until they are properly supported using stringformat. Take 2.

Dmitry Timoshkov dmitry at baikal.ru
Wed Aug 22 20:24:22 CDT 2012


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

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 9a9f092..5e76927 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -4755,6 +4755,10 @@ GpStatus gdip_format_string(HDC hdc,
         if(!isprintW(string[i]) && (string[i] != '\n'))
             continue;
 
+        /* FIXME: tabs should be handled using tabstops from stringformat */
+        if (string[i] == '\t')
+            continue;
+
         if (seen_prefix && hkprefix == HotkeyPrefixShow && string[i] != '&')
             hotkeyprefix_offsets[hotkeyprefix_count++] = j;
         else if (!seen_prefix && hkprefix != HotkeyPrefixNone && string[i] == '&')
-- 
1.7.11.5




More information about the wine-patches mailing list