]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1) Fix a bug in UC2_PRIVATE_DATA_FROM_THIS
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 May 2008 01:40:17 +0000 (01:40 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 May 2008 01:40:17 +0000 (01:40 +0000)
2) Fix a typo

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5224 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.c
EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf

index 233f2a043ca6671f8a9e8463636a4ed8efae669d..38e5be369951c417fac6c08edcee8802f576dc74 100644 (file)
@@ -163,7 +163,7 @@ typedef struct {
   EFI_UNICODE_COLLATION_PROTOCOL *UC;\r
 } UC2_PRIVATE_DATA;\r
 \r
-#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC, UC2_PRIVATE_DATA_SIGNATURE)\r
+#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC2, UC2_PRIVATE_DATA_SIGNATURE)\r
 \r
 //\r
 // Firmware Volume Protocol template\r
@@ -251,7 +251,7 @@ Uc2NotificationEvent (
     // Fill in rest of private data structure\r
     //\r
     Private->UC2.SupportedLanguages = AllocateZeroPool (RFC_3066_ENTRY_SIZE);\r
-    Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages ,Private->UC2.SupportedLanguages);\r
+    Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguagesPrivate->UC2.SupportedLanguages);\r
 \r
     if (!EFI_ERROR (Status)) {\r
 \r
index 50fae2da500ba93de85ee5a891c656c781f9529f..f65ed41032c3141d5eb21ee972e704fd46321acd 100644 (file)
@@ -2,7 +2,7 @@
 # Module produce UC2 on top of UC.\r
 #\r
 # UEFI 2.1 specification supersedes Inte's EFI Specification 1.10.\r
-# EFI_UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by\r
+# UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by\r
 # EFI_UNICODE_COLLATION_PROTOCOL in UEFI 2.1.\r
 # This module produces UC2 on top of UC. This module is used on platform when both of\r
 # these two conditions are true:\r