X-Git-Url: https://code.delx.au/refind/blobdiff_plain/e99aa7a04054658c8d5d4595717b9b10e848564d..87bc9afcef9d2fc27b8bcff46fa9c88e8962fcae:/refind/screen.c diff --git a/refind/screen.c b/refind/screen.c index 4656e01..7f485a4 100644 --- a/refind/screen.c +++ b/refind/screen.c @@ -193,9 +193,6 @@ VOID BeginExternalScreen(IN BOOLEAN UseGraphicsMode, IN CHAR16 *Title) DrawScreenHeader(Title); } // if/else - // show the header -// DrawScreenHeader(Title); - if (!UseGraphicsMode) SwitchToText(TRUE); @@ -205,9 +202,6 @@ VOID BeginExternalScreen(IN BOOLEAN UseGraphicsMode, IN CHAR16 *Title) VOID FinishExternalScreen(VOID) { - // Reset the screen resolution, in case external program changed it.... - SetupScreen(); - // make sure we clean up later GraphicsScreenDirty = TRUE; @@ -216,6 +210,9 @@ VOID FinishExternalScreen(VOID) PauseForKey(); } + // Reset the screen resolution, in case external program changed it.... + SetupScreen(); + // reset error flag haveError = FALSE; }