Dmitry Timoshkov : gdiplus: Filter tabs out until they are properly supported using stringformat.
Alexandre Julliard
julliard at winehq.org
Thu Aug 23 15:19:19 CDT 2012
Module: wine
Branch: master
Commit: 144a692ffa4fb73eb3e526c832f598cf373bc362
URL: http://source.winehq.org/git/wine.git/?a=commit;h=144a692ffa4fb73eb3e526c832f598cf373bc362
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Aug 23 10:24:22 2012 +0900
gdiplus: Filter tabs out until they are properly supported using stringformat.
---
dlls/gdiplus/graphics.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
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] == '&')
More information about the wine-cvs
mailing list