]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c
Update code to match EDKII coding style.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Library / UefiLanguageLib / UefiLanguageLib.c
index 0595db776fd1f6e81440b8655cc8df5b7aa8b0ee..16a9d60b7455b673553924f6b8fab51cb0e772a1 100644 (file)
@@ -2,7 +2,7 @@
   Language Library implementation that provides functions for language conversion\r
   between ISO 639-2 and RFC 4646 language codes.\r
 \r
-  Copyright (c) 2009, Intel Corporation<BR>\r
+  Copyright (c) 2009 - 2010, Intel Corporation<BR>\r
   All rights reserved. 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
@@ -406,7 +406,7 @@ ConvertLanguagesIso639ToRfc4646 (
   // The length of ISO 639-2 lanugage codes string must be multiple of 3\r
   //\r
   Length = AsciiStrLen (Iso639Languages);\r
-  if (Length % 3) {\r
+  if (Length % 3 != 0) {\r
     return NULL;\r
   }\r
   \r