public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote"
@ 2019-11-24 10:33 Heinrich Schuchardt
  2019-11-25  8:09 ` [edk2-devel] " Philippe Mathieu-Daudé
  2019-12-03  1:42 ` Gao, Zhichao
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-11-24 10:33 UTC (permalink / raw)
  To: EDK II Development, Liming Gao; +Cc: michael.d.kinney, Heinrich Schuchardt

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".

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 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 12235e4e4b..71036a7487 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
@@ -1608,7 +1608,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);
 
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote"
  2019-11-24 10:33 [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote" Heinrich Schuchardt
@ 2019-11-25  8:09 ` Philippe Mathieu-Daudé
  2019-12-03  1:42 ` Gao, Zhichao
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-11-25  8:09 UTC (permalink / raw)
  To: devel, xypron.glpk, Liming Gao; +Cc: michael.d.kinney

On 11/24/19 11:33 AM, Heinrich Schuchardt via Groups.Io 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".
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>

Note to the maintainer taking this patch, please take care the 
GIT_AUTHOR_NAME / GIT_AUTHOR_EMAIL are correct (not the one rewritten by 
groups.io email policy).

> ---
>   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 12235e4e4b..71036a7487 100644
> --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
> +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
> @@ -1608,7 +1608,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);
>   
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote"
  2019-11-24 10:33 [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote" Heinrich Schuchardt
  2019-11-25  8:09 ` [edk2-devel] " Philippe Mathieu-Daudé
@ 2019-12-03  1:42 ` Gao, Zhichao
  1 sibling, 0 replies; 3+ messages in thread
From: Gao, Zhichao @ 2019-12-03  1:42 UTC (permalink / raw)
  To: devel@edk2.groups.io, xypron.glpk@gmx.de, Gao, Liming
  Cc: Kinney, Michael D, Ni, Ray

Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>

Thanks,
Zhichao

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Heinrich Schuchardt
> Sent: Sunday, November 24, 2019 6:33 PM
> To: EDK II Development <devel@edk2.groups.io>; Gao, Liming
> <liming.gao@intel.com>
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Heinrich Schuchardt
> <xypron.glpk@gmx.de>
> Subject: [edk2-devel] [edk2] [PATCH] 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".
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  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 12235e4e4b..71036a7487 100644
> --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
> +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
> @@ -1608,7 +1608,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); --
> 2.24.0
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> 
> View/Reply Online (#51206): https://edk2.groups.io/g/devel/message/51206
> Mute This Topic: https://groups.io/mt/61873155/1768756
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub  [zhichao.gao@intel.com] -
> =-=-=-=-=-=


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-03  1:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-24 10:33 [edk2] [PATCH] ShellPkg/edit: typo "%d Lines Wrote" Heinrich Schuchardt
2019-11-25  8:09 ` [edk2-devel] " Philippe Mathieu-Daudé
2019-12-03  1:42 ` Gao, Zhichao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox