[BLUE] Initialize the console with a default font for codepage 437.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 25 Jun 2019 00:21:25 +0000 (02:21 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 25 Jun 2019 00:32:09 +0000 (02:32 +0200)
drivers/setup/blue/blue.c

index 7367cea..1403c19 100644 (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);
               }