Nikolay Sivov : gdi32: Only REG_SZ and REG_MULTI_SZ types make sense for font replacement, ignore the rest.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 12 09:47:44 CST 2016
Module: wine
Branch: master
Commit: 932838faa3d608d2b74cd98b8427389169fbe26e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=932838faa3d608d2b74cd98b8427389169fbe26e
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Feb 12 01:50:49 2016 +0300
gdi32: Only REG_SZ and REG_MULTI_SZ types make sense for font replacement, ignore the rest.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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
More information about the wine-cvs
mailing list