Revision: 14785
          http://sourceforge.net/p/edk2/code/14785
Author:   jcarsey
Date:     2013-10-18 18:11:52 +0000 (Fri, 18 Oct 2013)
Log Message:
-----------
ShellPkg: Fixes ?\226?\128?\152edit?\226?\128?\153 command to correctly display 
ASCII or UNICODE for the file type.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chr...@hp.com>
reviewed-by: jaben carsey <jaben.car...@intel.com>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c

Modified: trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c       
2013-10-18 15:49:23 UTC (rev 14784)
+++ trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/EditTitleBar.c       
2013-10-18 18:11:52 UTC (rev 14785)
@@ -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 @@
     case FileTypeAscii:
     case FileTypeUnicode:
       if (FileType == FileTypeAscii){
+        ShellPrintEx (-1,-1, L"     ASCII     ");
+      } else {
         ShellPrintEx (-1,-1, L"     UNICODE   ");
       }
       //

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to