ShellPkg: Fixes ‘edit’ command to correctly display ASCII or UNICODE for the file type.

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
This commit is contained in:
Chris Phillips 2013-10-18 18:11:52 +00:00 committed by jcarsey
parent 284e034f4f
commit abbea36e3e
1 changed files with 3 additions and 0 deletions

View File

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