https://git.reactos.org/?p=reactos.git;a=commitdiff;h=306bcd9d73b8078a9a5aaafb87892a95a4d359ad

commit 306bcd9d73b8078a9a5aaafb87892a95a4d359ad
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Tue Jun 25 02:21:25 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Tue Jun 25 02:32:09 2019 +0200

    [BLUE] Initialize the console with a default font for codepage 437.
---
 drivers/setup/blue/blue.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/setup/blue/blue.c b/drivers/setup/blue/blue.c
index 7367cead5f6..1403c19ef57 100644
--- a/drivers/setup/blue/blue.c
+++ b/drivers/setup/blue/blue.c
@@ -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);
               }
 

Reply via email to