Haoyang Chen : gdiplus: Avoid filtering of special characters.

Alexandre Julliard julliard at winehq.org
Mon May 17 15:45:29 CDT 2021


Module: wine
Branch: master
Commit: 43e2563f449372a0f7ff72052bda56505f0c4359
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=43e2563f449372a0f7ff72052bda56505f0c4359

Author: Haoyang Chen <chenhaoyang at uniontech.com>
Date:   Wed May 12 17:30:06 2021 +0800

gdiplus: Avoid filtering of special characters.

Symbols such as ←  should also be displayed.

Signed-off-by: Haoyang Chen <chenhaoyang at uniontech.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdiplus/graphics.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index df4a89e8294..4a428c49869 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -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')




More information about the wine-cvs mailing list