[PATCH] gdi32: Only REG_SZ and REG_MULTI_SZ types make sense for font replacement, ignore the rest
Nikolay Sivov
nsivov at codeweavers.com
Thu Feb 11 16:50:49 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/gdi32/freetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 9fa520f..cf3df53 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -2387,7 +2387,7 @@ static void LoadReplaceList(void)
replace += strlenW(replace) + 1;
}
}
- else
+ else if (type == REG_SZ)
map_font_family(value, data);
}
else
--
2.7.0
More information about the wine-patches
mailing list