]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Fixes ‘edit’ command to correctly display ASCII or UNICODE for the file...
authorChris Phillips <chrisp@hp.com>
Fri, 18 Oct 2013 18:11:52 +0000 (18:11 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 18 Oct 2013 18:11:52 +0000 (18:11 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: jaben carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14785 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c

index ad504561bb95a3e0b909be310184c1a85e12a81f..23d26105c2ccd01bb36300db280b0a3e1dc35342 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
   Implements titlebar interface functions.\r
 \r
+  Copyright (c) 2013, Hewlett-Packard Development Company, L.P.\r
   Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -170,6 +171,8 @@ MainTitleBarRefresh (
     case FileTypeAscii:\r
     case FileTypeUnicode:\r
       if (FileType == FileTypeAscii){\r
+        ShellPrintEx (-1,-1, L"     ASCII     ");\r
+      } else {\r
         ShellPrintEx (-1,-1, L"     UNICODE   ");\r
       }\r
       //\r