diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-12-17 11:16:16 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-12-17 11:16:16 +0000 |
commit | eafd681e28eb0db691d75c478bba1eacb6cf4033 (patch) | |
tree | 477396706a877e7a1d5f1bcb02e5e2a7178f570f /ShellPkg/Library/UefiShellLevel3CommandsLib | |
parent | 1f7eb561d906e47d6dec2fb1406c1a8694f2bd38 (diff) | |
download | edk2-eafd681e28eb0db691d75c478bba1eacb6cf4033.zip edk2-eafd681e28eb0db691d75c478bba1eacb6cf4033.tar.gz edk2-eafd681e28eb0db691d75c478bba1eacb6cf4033.tar.bz2 |
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
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c index 57ae8fc..7e9d039 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' ') {
|