mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[CONCFG] IsValidConsoleFont(): Validate font against charset corresponding to selected code page.
This commit is contained in:
@@ -376,7 +376,7 @@ IsValidConsoleFont(
|
||||
Param.CodePage = CodePage;
|
||||
|
||||
RtlZeroMemory(&lf, sizeof(lf));
|
||||
lf.lfCharSet = DEFAULT_CHARSET; // CodePageToCharSet(CodePage);
|
||||
lf.lfCharSet = CodePageToCharSet(CodePage);
|
||||
// lf.lfPitchAndFamily = FIXED_PITCH | FF_MODERN;
|
||||
StringCchCopyW(lf.lfFaceName, ARRAYSIZE(lf.lfFaceName), FaceName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user