]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c
StdLib: Some deployed versions of the Simple Text Input Protocol randomly return...
[mirror_edk2.git] / StdLib / LibC / Uefi / InteractiveIO / IIOutilities.c
index 1c978eae709a4fc88d167976637646327d6ebdf4..0e80ff0eaf7538547ae7269aa6e077e92f273221 100644 (file)
@@ -3,7 +3,7 @@
 \r
   The functions assume that isatty() is TRUE at the time they are called.\r
 \r
-  Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
   distribution.  The full text of the license may be found at\r
@@ -104,7 +104,7 @@ IIO_GetInChar (
   else {\r
     RetVal = (wint_t)InChar;\r
   }\r
-  return InChar;\r
+  return RetVal;\r
 }\r
 \r
 /** Get the current cursor position.\r