summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-11-24 18:33:20 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2019-12-05 06:12:36 +0000
commit2926498f01e6d8b77dff933e3e9c87eb56c709b4 (patch)
tree5b0edefdc656cf838dbbe3e36d63706d2dedb98d /ShellPkg
parent965dbf97abec6b999b2dddb75ef746deed354019 (diff)
downloadedk2-2926498f01e6d8b77dff933e3e9c87eb56c709b4.tar.gz
edk2-2926498f01e6d8b77dff933e3e9c87eb56c709b4.tar.bz2
edk2-2926498f01e6d8b77dff933e3e9c87eb56c709b4.zip
ShellPkg/edit: typo "%d Lines Wrote"
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2379 When a file is saved in the edit command a status message L"%d Lines Wrote" is displayed. The hexedit command suffers from the same typo. Change the message to L"%d Lines Written". Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c2
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
index fd324cc4a8..c9814e400c 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
@@ -1602,7 +1602,7 @@ FileBufferSave (
//
// set status string
//
- Str = CatSPrint (NULL, L"%d Lines Wrote", NumLines);
+ Str = CatSPrint (NULL, L"%d Lines Written", NumLines);
if (Str == NULL) {
return EFI_OUT_OF_RESOURCES;
}
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
index b393f2a423..bb324ceafc 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
@@ -368,7 +368,7 @@ HFileImageSave (
//
// set status string
//
- Str = CatSPrint(NULL, L"%d Lines Wrote", NumLines);
+ Str = CatSPrint(NULL, L"%d Lines Written", NumLines);
StatusBarSetStatusString (Str);
FreePool (Str);