From bf92d6bedf418fed06a1698479051a9f0598c335 Mon Sep 17 00:00:00 2001 From: Haoyang Chen Date: Wed, 12 May 2021 17:30:06 +0800 Subject: [PATCH] gdiplus: Avoid filtering of special characters. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Symbols such as ← should also be displayed. Signed-off-by: Haoyang Chen Signed-off-by: Esme Povirk Signed-off-by: Alexandre Julliard (cherry picked from commit 43e2563f449372a0f7ff72052bda56505f0c4359) Signed-off-by: Michael Stefaniuc --- dlls/gdiplus/graphics.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 291f6a94b9d..e5a709f6aa5 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -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')