]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/BdsDxe/Language.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / Language.c
index 09127316fb20c2a5e42893bb89537cf2a734ab1b..3e6022f840a7003d58ef6f083759e92687c0abe7 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Language settings\r
 \r
 /** @file\r
   Language settings\r
 \r
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, 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
 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
@@ -47,7 +47,7 @@ IsLangInSupportedLangCodes(
   IN  CHAR8            *SupportedLang,\r
   IN  CHAR8            *Lang,\r
   IN  BOOLEAN          Iso639Language\r
   IN  CHAR8            *SupportedLang,\r
   IN  CHAR8            *Lang,\r
   IN  BOOLEAN          Iso639Language\r
-  ) \r
+  )\r
 {\r
   UINTN    Index;\r
   UINTN    CompareLength;\r
 {\r
   UINTN    Index;\r
   UINTN    CompareLength;\r
@@ -79,8 +79,8 @@ IsLangInSupportedLangCodes(
       // Determine the length of the next language code in SupportedLang\r
       //\r
       for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';'; CompareLength++);\r
       // Determine the length of the next language code in SupportedLang\r
       //\r
       for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';'; CompareLength++);\r
-      \r
-      if ((CompareLength == LanguageLength) && \r
+\r
+      if ((CompareLength == LanguageLength) &&\r
           (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) {\r
         //\r
         // Successfully find the Lang string in SupportedLang string.\r
           (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) {\r
         //\r
         // Successfully find the Lang string in SupportedLang string.\r
@@ -108,7 +108,7 @@ VOID
 InitializeLangVariable (\r
   IN CHAR16     *LangName,\r
   IN CHAR8      *SupportedLang,\r
 InitializeLangVariable (\r
   IN CHAR16     *LangName,\r
   IN CHAR8      *SupportedLang,\r
-  IN CHAR8      *DefaultLang,     \r
+  IN CHAR8      *DefaultLang,\r
   IN BOOLEAN    Iso639Language\r
   )\r
 {\r
   IN BOOLEAN    Iso639Language\r
   )\r
 {\r