diff mbox

[edk2,2/3] MdeModulePkg: TerminalDxe: Fix bug of NullRemaining flag

Message ID 1436288191-16773-3-git-send-email-heyi.guo@linaro.org
State New
Headers show

Commit Message

gary guo July 7, 2015, 4:56 p.m. UTC
NullRemaining should be set to FALSE by fault and then be set to TRUE
conditionally.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
---
 MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index 966fb79..1897196 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -556,7 +556,7 @@  TerminalDriverBindingStart (
   DefaultNode        = NULL;
   ConInSelected       = FALSE;
   ConOutSelected      = FALSE;
-  NullRemaining      = TRUE;
+  NullRemaining      = FALSE;
   SimTxtInInstalled  = FALSE;
   SimTxtOutInstalled = FALSE;
   FirstEnter         = FALSE;