summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-20 01:40:17 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-20 01:40:17 +0000
commit29ec49a58a61db348e103111089b4b77802e3add (patch)
tree7c9aca55c11e081e0454ec97a48ccb34f0b6222d /EdkCompatibilityPkg
parenta9c908f298c3ecbbb429d3a638fce83636aac961 (diff)
downloadedk2-29ec49a58a61db348e103111089b4b77802e3add.zip
edk2-29ec49a58a61db348e103111089b4b77802e3add.tar.gz
edk2-29ec49a58a61db348e103111089b4b77802e3add.tar.bz2
1) Fix a bug in UC2_PRIVATE_DATA_FROM_THIS
2) Fix a typo git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5224 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c4
-rw-r--r--EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf2
2 files changed, 3 insertions, 3 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c b/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c
index 233f2a0..38e5be3 100644
--- a/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c
@@ -163,7 +163,7 @@ typedef struct {
EFI_UNICODE_COLLATION_PROTOCOL *UC;
} UC2_PRIVATE_DATA;
-#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC, UC2_PRIVATE_DATA_SIGNATURE)
+#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC2, UC2_PRIVATE_DATA_SIGNATURE)
//
// Firmware Volume Protocol template
@@ -251,7 +251,7 @@ Uc2NotificationEvent (
// Fill in rest of private data structure
//
Private->UC2.SupportedLanguages = AllocateZeroPool (RFC_3066_ENTRY_SIZE);
- Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages ,Private->UC2.SupportedLanguages);
+ Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages, Private->UC2.SupportedLanguages);
if (!EFI_ERROR (Status)) {
diff --git a/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf b/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf
index 50fae2d..f65ed41 100644
--- a/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf
+++ b/EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf
@@ -2,7 +2,7 @@
# Module produce UC2 on top of UC.
#
# UEFI 2.1 specification supersedes Inte's EFI Specification 1.10.
-# EFI_UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by
+# UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by
# EFI_UNICODE_COLLATION_PROTOCOL in UEFI 2.1.
# This module produces UC2 on top of UC. This module is used on platform when both of
# these two conditions are true: