summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-02 08:05:34 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-02 08:05:34 +0000
commit4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396 (patch)
treed82f18a696ce519ca87925ab809db196b6358334 /ShellPkg/Library/UefiShellDebug1CommandsLib/Edit
parent6709bbd17f09965f03fa34043923361a01ec13ed (diff)
downloadedk2-4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396.zip
edk2-4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396.tar.gz
edk2-4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396.tar.bz2
Refine comments and two code style.
Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Edit')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
index ba62298..7d82884 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
@@ -1685,8 +1685,8 @@ FileBufferScrollLeft (
/**
Delete a char in line
- @param[in,out] Line The line to delete in.
- @param[in] Pos Position to delete the char at ( start from 0 ).
+ @param[in, out] Line The line to delete in.
+ @param[in] Pos Position to delete the char at ( start from 0 ).
**/
VOID
EFIAPI
@@ -1710,8 +1710,8 @@ LineDeleteAt (
/**
Concatenate Src into Dest.
- @param[in,out] Dest Destination string
- @param[in] Src Src String.
+ @param[in, out] Dest Destination string
+ @param[in] Src Src String.
**/
VOID
EFIAPI
@@ -2981,7 +2981,7 @@ FileBufferSearch (
//
// found
//
- if (Found == TRUE) {
+ if (Found) {
Column = (Position - 1) + FileBuffer.FilePosition.Column + Offset;
Row = FileBuffer.FilePosition.Row;
} else {
@@ -3000,7 +3000,7 @@ FileBufferSearch (
Found = TRUE;
}
- if (Found == TRUE) {
+ if (Found) {
//
// found
//