diff mbox

[edk2,V4,4/5] MdeModulePkg/TerminalDxe: Set NullRemaining to FALSE by default

Message ID 1437034922-18361-5-git-send-email-heyi.guo@linaro.org
State New
Headers show

Commit Message

gary guo July 16, 2015, 8:22 a.m. UTC
This is bug fix for TerminalDxe: NullRemaining should be set to FALSE
by fault and then be set to TRUE conditionally.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
---
 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 597b15d..75bfdec 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -568,7 +568,7 @@  TerminalDriverBindingStart (
   DefaultNode        = NULL;
   ConInSelected       = FALSE;
   ConOutSelected      = FALSE;
-  NullRemaining      = TRUE;
+  NullRemaining      = FALSE;
   SimTxtInInstalled  = FALSE;
   SimTxtOutInstalled = FALSE;
   FirstEnter         = FALSE;