Fix a typo when checking the 16-bit alignment of Unicode String.
authorqhuang8 <qhuang8@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Mon, 5 May 2008 07:06:57 +0000 (07:06 +0000)
committerqhuang8 <qhuang8@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Mon, 5 May 2008 07:06:57 +0000 (07:06 +0000)
git-svn-id: https://fat-driver2.tianocore.org/svn/fat-driver2/trunk@26 65ba2f78-6c18-0410-a7b4-885970cf29fa

FatPkg/EnhancedFatDxe/UnicodeCollation.c

index 67f1b7c..4a849af 100644 (file)
@@ -275,7 +275,7 @@ FatFatToStr (
 {\r
   ASSERT (Fat != NULL);\r
   ASSERT (String != NULL);\r
-  ASSERT (((UINTN) String & 0x01) != 0);\r
+  ASSERT (((UINTN) String & 0x01) == 0);\r
   ASSERT (mUnicodeCollationInterface != NULL);\r
 \r
   mUnicodeCollationInterface->FatToStr (mUnicodeCollationInterface, FatSize, Fat, String);\r