summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-12-17 11:16:16 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-12-17 11:16:16 +0000
commiteafd681e28eb0db691d75c478bba1eacb6cf4033 (patch)
tree477396706a877e7a1d5f1bcb02e5e2a7178f570f
parent1f7eb561d906e47d6dec2fb1406c1a8694f2bd38 (diff)
downloadedk2-platforms-eafd681e28eb0db691d75c478bba1eacb6cf4033.tar.xz
Refine code to follow coding style.
Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14008 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
index 57ae8fc5e3..7e9d039f15 100644
--- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
+++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
@@ -165,7 +165,7 @@ ShellCommandRunHelp (
}
ShellStatus = SHELL_NOT_FOUND;
} else {
- if (HelpPage == TRUE) {
+ if (HelpPage) {
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_HELP_PAGE_COMMAND), gShellLevel3HiiHandle, OutText);
} else {
while (OutText[StrLen(OutText)-1] == L'\r' || OutText[StrLen(OutText)-1] == L'\n' || OutText[StrLen(OutText)-1] == L' ') {