[BLUE] Initialize the console with a default font for codepage 437.

This commit is contained in:
Hermès Bélusca-Maïto 2019-06-25 02:21:25 +02:00
parent aad4096475
commit 306bcd9d73
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -211,6 +211,9 @@ ScrAcquireOwnership(PDEVICE_EXTENSION DeviceExtension)
DeviceExtension->Rows = 30;
#endif
/* Upload a default font for the default codepage 437 */
ScrLoadFontTable(437);
DPRINT ("%d Columns %d Rows %d Scanlines\n",
DeviceExtension->Columns,
DeviceExtension->Rows,
@ -864,7 +867,7 @@ ScrIoControl(PDEVICE_OBJECT DeviceObject,
if (!InbvCheckDisplayOwnership())
{
// Upload a font for the codepage if needed
/* Upload a font for the codepage if needed */
ScrLoadFontTable(CodePage);
}