Jactry Zeng : gdi32: Fix a typo in unix_face_create().

Alexandre Julliard julliard at winehq.org
Mon Jul 19 15:59:14 CDT 2021


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

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Mon Jul 12 20:55:32 2021 +0800

gdi32: Fix a typo in unix_face_create().

This also fixes test failures in test_lang_names() when on Japanese system.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51382
Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
Signed-off-by: Huw Davies <huw 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 490e4c501aa..ee14bd25119 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1245,7 +1245,7 @@ static struct unix_face *unix_face_create( const char *unix_name, void *data_ptr
         This->style_name = decode_opentype_name( &style_name.face_name );
 
         memset( &full_name, 0, sizeof(full_name) );
-        style_name.primary_langid = primary_langid;
+        full_name.primary_langid = primary_langid;
         opentype_enum_full_names( tt_name_v0, search_face_name_callback, &full_name );
         This->full_name = decode_opentype_name( &full_name.face_name );
 




More information about the wine-cvs mailing list