From 569891558fa0f7b76a6ea80f11771c1702a892ea Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Fri, 14 Apr 2017 18:32:07 +0000 Subject: [PATCH] [WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876 svn path=/trunk/; revision=74313 --- reactos/win32ss/gdi/ntgdi/freetype.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/reactos/win32ss/gdi/ntgdi/freetype.c b/reactos/win32ss/gdi/ntgdi/freetype.c index f5294744e18..f4cfa64934d 100644 --- a/reactos/win32ss/gdi/ntgdi/freetype.c +++ b/reactos/win32ss/gdi/ntgdi/freetype.c @@ -2225,7 +2225,6 @@ FontFamilyFillInfo(PFONTFAMILYINFO Info, PCWSTR FaceName, PFONTGDI FontGDI) { return; } - Info->EnumLogFontEx.elfLogFont.lfCharSet = DEFAULT_CHARSET; Info->EnumLogFontEx.elfScript[0] = UNICODE_NULL; IntLockFreeType; @@ -2286,7 +2285,6 @@ FontFamilyFillInfo(PFONTFAMILYINFO Info, PCWSTR FaceName, PFONTGDI FontGDI) } if (DEFAULT_CHARSET != CharSetInfo.ciCharset) { - Info->EnumLogFontEx.elfLogFont.lfCharSet = CharSetInfo.ciCharset; if (ElfScripts[i]) wcscpy(Info->EnumLogFontEx.elfScript, ElfScripts[i]); else