diff options
author | Liming Gao <liming.gao@intel.com> | 2018-06-27 21:13:38 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-06-28 11:19:51 +0800 |
commit | ba0014b9f8ae1a593f03e744f26008214c2b06a8 (patch) | |
tree | d40c0369fe53be8bd4a8c5595b773ec1bf3cf884 /ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c | |
parent | 24bfed691d9b581830933623204b56a704d1abd2 (diff) | |
download | edk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.tar.gz edk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.tar.bz2 edk2-ba0014b9f8ae1a593f03e744f26008214c2b06a8.zip |
ShellPkg: Clean up source files
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c index 58e90ac5b2..8490b263cb 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c @@ -47,7 +47,7 @@ MenuBarInit ( CONST EDITOR_MENU_ITEM *ItemsWalker;
for (NumItems = 0, ItemsWalker = Items ; ItemsWalker != NULL && ItemsWalker->Function != NULL ; ItemsWalker++,NumItems++);
-
+
MenuItems = AllocateZeroPool((NumItems+1) * sizeof(EDITOR_MENU_ITEM));
if (MenuItems == NULL) {
return EFI_OUT_OF_RESOURCES;
@@ -69,7 +69,7 @@ ControlHotKeyInit ( )
{
ControlBasedMenuFunctions = Items;
- return EFI_SUCCESS;
+ return EFI_SUCCESS;
}
/**
Refresh function for the menu bar.
@@ -138,7 +138,7 @@ MenuBarRefresh ( @param[in] Key The pressed key.
- @retval EFI_NOT_FOUND The key was not a valid function key
+ @retval EFI_NOT_FOUND The key was not a valid function key
(an error was sent to the status bar).
@return The return value from the called dispatch function.
**/
@@ -167,7 +167,7 @@ MenuBarDispatchFunctionKey ( @param[in] KeyData The pressed key.
- @retval EFI_NOT_FOUND The key was not a valid control-based key
+ @retval EFI_NOT_FOUND The key was not a valid control-based key
(an error was sent to the status bar).
@return EFI_SUCCESS.
**/
|