summaryrefslogtreecommitdiffstats
path: root/StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c')
-rw-r--r--StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c b/StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c
index 1c978eae70..0e80ff0eaf 100644
--- a/StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c
+++ b/StdLib/LibC/Uefi/InteractiveIO/IIOutilities.c
@@ -3,7 +3,7 @@
The functions assume that isatty() is TRUE at the time they are called.
- Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
@@ -104,7 +104,7 @@ IIO_GetInChar (
else {
RetVal = (wint_t)InChar;
}
- return InChar;
+ return RetVal;
}
/** Get the current cursor position.