Skip to content

Commit

Permalink
Remove temp text mode logging on efi load
Browse files Browse the repository at this point in the history
  • Loading branch information
dakanji committed Aug 4, 2020
1 parent b423ca3 commit 943875d
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions refind/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ SwitchToText(
refit_call2_wrapper(ST->ConOut->EnableCursor, ST->ConOut, CursorEnabled);

#if REFIT_DEBUG > 0
MsgLog(" - Get Text Console Size\n");
if (!AllowGraphicsMode || GlobalConfig.TextOnly) {
MsgLog(" - Get Text Console Size\n");
}
#endif

// get size of text console
Expand All @@ -293,21 +295,25 @@ SwitchToText(
ConHeight = 25;

#if REFIT_DEBUG > 0
MsgLog(
" * %r: Could not Get Text Console Size ...Use Default (%dx%d)\n",
Status,
ConHeight,
ConWidth
);
if (!AllowGraphicsMode || GlobalConfig.TextOnly) {
MsgLog(
" * %r: Could not Get Text Console Size ...Use Default (%dx%d)\n",
Status,
ConHeight,
ConWidth
);
}
#endif
} else {
#if REFIT_DEBUG > 0
MsgLog(
" * %r: Got Text Console Size (%dx%d)\n",
Status,
ConHeight,
ConWidth
);
if (!AllowGraphicsMode || GlobalConfig.TextOnly) {
MsgLog(
" * %r: Got Text Console Size (%dx%d)\n",
Status,
ConHeight,
ConWidth
);
}
#endif
}
PrepareBlankLine();
Expand Down

0 comments on commit 943875d

Please sign in to comment.