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

This commit is contained in:
Dmitry Timoshkov 2012-08-23 10:24:22 +09:00 committed by Alexandre Julliard
parent e6c77a7c7a
commit 144a692ffa
1 changed files with 4 additions and 0 deletions

View File

@ -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] == '&')