summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility/Library
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-01 03:26:19 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-01 03:26:19 +0000
commit26a76fbcb2762826523bba325400e302bf346859 (patch)
tree52a63d084937f331c0553e2b17319d947596148e /EdkCompatibilityPkg/Compatibility/Library
parenta111b843ea3cf9b48f3f06f73c6ed9b346ff16ba (diff)
downloadedk2-platforms-26a76fbcb2762826523bba325400e302bf346859.tar.xz
Update code to match EDKII coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10130 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility/Library')
-rw-r--r--EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c b/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c
index 0595db776f..16a9d60b74 100644
--- a/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c
+++ b/EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.c
@@ -2,7 +2,7 @@
Language Library implementation that provides functions for language conversion
between ISO 639-2 and RFC 4646 language codes.
- Copyright (c) 2009, Intel Corporation<BR>
+ Copyright (c) 2009 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -406,7 +406,7 @@ ConvertLanguagesIso639ToRfc4646 (
// The length of ISO 639-2 lanugage codes string must be multiple of 3
//
Length = AsciiStrLen (Iso639Languages);
- if (Length % 3) {
+ if (Length % 3 != 0) {
return NULL;
}