mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876
svn path=/trunk/; revision=74313
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user