From abbea36e3ecd725d50b950f0b4a73c3aebf3187f Mon Sep 17 00:00:00 2001 From: Chris Phillips Date: Fri, 18 Oct 2013 18:11:52 +0000 Subject: [PATCH] =?utf8?q?ShellPkg:=20Fixes=20=E2=80=98edit=E2=80=99=20com?= =?utf8?q?mand=20to=20correctly=20display=20ASCII=20or=20UNICODE=20for=20t?= =?utf8?q?he=20file=20type.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips reviewed-by: jaben carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14785 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c index ad504561bb..23d26105c2 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c @@ -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.
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 "); } // -- 2.39.2