[PATCH] gdiplus: Avoid filtering of special characters.

Haoyang Chen chenhaoyang at uniontech.com
Wed May 12 04:30:06 CDT 2021


Symbols such as ←  should also be displayed.

Signed-off-by: Haoyang Chen <chenhaoyang at uniontech.com>
---
 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')
-- 
2.20.1






More information about the wine-devel mailing list