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>
(cherry picked from commit 43e2563f44)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Haoyang Chen 2021-05-12 17:30:06 +08:00 committed by Michael Stefaniuc
parent ee79875f34
commit bf92d6bedf
1 changed files with 0 additions and 3 deletions

View File

@ -5225,9 +5225,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')