gdiplus: Avoid filtering of special characters.

Symbols such as ←  should also be displayed.

Signed-off-by: Haoyang Chen <chenhaoyang@uniontech.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Haoyang Chen 2021-05-12 17:30:06 +08:00 committed by Alexandre Julliard
parent ce72f9b426
commit 43e2563f44
1 changed files with 0 additions and 3 deletions

View File

@ -5229,9 +5229,6 @@ GpStatus gdip_format_string(HDC hdc,
hotkeyprefix_count = 0;
for(i = 0, j = 0; i < length; i++){
/* FIXME: This makes the indexes passed to callback inaccurate. */
if(!iswprint(string[i]) && (string[i] != '\n'))
continue;
/* FIXME: tabs should be handled using tabstops from stringformat */
if (string[i] == '\t')