[WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876

svn path=/trunk/; revision=74313
This commit is contained in:
Mark Jansen 2017-04-14 18:32:07 +00:00
parent 8b3bb3c44c
commit 569891558f

View file

@ -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