Author: mjansen
Date: Fri Apr 14 18:32:07 2017
New Revision: 74313
URL:
http://svn.reactos.org/svn/reactos?rev=74313&view=rev
Log:
[WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876
Modified:
trunk/reactos/win32ss/gdi/ntgdi/freetype.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/freetype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/freetype…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] Fri Apr 14 18:32:07 2017
@@ -2225,7 +2225,6 @@
{
return;
}
- Info->EnumLogFontEx.elfLogFont.lfCharSet = DEFAULT_CHARSET;
Info->EnumLogFontEx.elfScript[0] = UNICODE_NULL;
IntLockFreeType;
@@ -2286,7 +2285,6 @@
}
if (DEFAULT_CHARSET != CharSetInfo.ciCharset)
{
- Info->EnumLogFontEx.elfLogFont.lfCharSet = CharSetInfo.ciCharset;
if (ElfScripts[i])
wcscpy(Info->EnumLogFontEx.elfScript, ElfScripts[i]);
else