]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/ShellParametersProtocol.c
ShellPkg: Use DOS format end of line.
[mirror_edk2.git] / ShellPkg / Application / Shell / ShellParametersProtocol.c
index c638583a3758a7161f3ecb0c9346afc52d1a52b2..b3767bbbf2b9b7d407a896b2d188f08cbda27dd8 100644 (file)
@@ -4,7 +4,7 @@
 \r
   Copyright (C) 2014, Red Hat, Inc.\r
   (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR>\r
-  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, 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
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -1266,12 +1266,12 @@ UpdateStdInStdOutStdErr(
           EFI_FILE_MODE_READ,\r
           0);\r
         if (!EFI_ERROR(Status)) {\r
-          if (!InUnicode) {
-            //
-            // Create the ASCII->Unicode conversion layer
-            //
-            TempHandle = CreateFileInterfaceFile(TempHandle, FALSE);
-          }
+          if (!InUnicode) {\r
+            //\r
+            // Create the ASCII->Unicode conversion layer\r
+            //\r
+            TempHandle = CreateFileInterfaceFile(TempHandle, FALSE);\r
+          }\r
           ShellParameters->StdIn = TempHandle;\r
           gST->ConIn = CreateSimpleTextInOnFile(TempHandle, &gST->ConsoleInHandle);\r
         }\r