Haoyang Chen : gdiplus: Avoid filtering of special characters.

Alexandre Julliard julliard at winehq.org
Tue Oct 26 09:40:28 CDT 2021


Module: wine
Branch: stable
Commit: bf92d6bedf418fed06a1698479051a9f0598c335
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bf92d6bedf418fed06a1698479051a9f0598c335

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>
(cherry picked from commit 43e2563f449372a0f7ff72052bda56505f0c4359)
Signed-off-by: Michael Stefaniuc <mstefani 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 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')




More information about the wine-cvs mailing list