mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[CONCFG] IsValidConsoleFont(): Validate font against charset corresponding to selected code page.
This commit is contained in:
parent
1530a678a8
commit
f650cbdb68
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ IsValidConsoleFont(
|
||||||
Param.CodePage = CodePage;
|
Param.CodePage = CodePage;
|
||||||
|
|
||||||
RtlZeroMemory(&lf, sizeof(lf));
|
RtlZeroMemory(&lf, sizeof(lf));
|
||||||
lf.lfCharSet = DEFAULT_CHARSET; // CodePageToCharSet(CodePage);
|
lf.lfCharSet = CodePageToCharSet(CodePage);
|
||||||
// lf.lfPitchAndFamily = FIXED_PITCH | FF_MODERN;
|
// lf.lfPitchAndFamily = FIXED_PITCH | FF_MODERN;
|
||||||
StringCchCopyW(lf.lfFaceName, ARRAYSIZE(lf.lfFaceName), FaceName);
|
StringCchCopyW(lf.lfFaceName, ARRAYSIZE(lf.lfFaceName), FaceName);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue