From 2926498f01e6d8b77dff933e3e9c87eb56c709b4 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 24 Nov 2019 18:33:20 +0800 Subject: 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 Reviewed-by: Zhichao Gao Signed-off-by: Heinrich Schuchardt --- ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c | 2 +- ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c | 2 +- 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); -- cgit v1.2.3