]> code.delx.au - refind/blobdiff - refind/screen.c
Version 0.6.1 official release
[refind] / refind / screen.c
index b24e6f5578c82e02a954cfb88e8fa49a49b48924..7f279dbc8d6ceb62fcb797ee8d34fef754375913 100644 (file)
@@ -122,6 +122,7 @@ VOID InitScreen(VOID)
        DrawScreenHeader(L"Initializing...");
 }
 
+// Set the screen resolution and mode (text vs. graphics).
 VOID SetupScreen(VOID)
 {
     UINTN NewWidth, NewHeight;
@@ -172,7 +173,7 @@ VOID SetupScreen(VOID)
 
 VOID SwitchToText(IN BOOLEAN CursorEnabled)
 {
-   egSetGraphicsModeEnabled(FALSE);
+    egSetGraphicsModeEnabled(FALSE);
     refit_call2_wrapper(ST->ConOut->EnableCursor, ST->ConOut, CursorEnabled);
     // get size of text console
     if (refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, ST->ConOut->Mode->Mode, &ConWidth, &ConHeight) != EFI_SUCCESS) {