Fix bug in Unicode colloation that causes ASSERT on BeagleBoard. PlatformLang or...
authorAJFISH <AJFISH@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Tue, 15 Dec 2009 22:15:22 +0000 (22:15 +0000)
committerAJFISH <AJFISH@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Tue, 15 Dec 2009 22:15:22 +0000 (22:15 +0000)
git-svn-id: https://fat-driver2.tianocore.org/svn/fat-driver2/trunk@46 65ba2f78-6c18-0410-a7b4-885970cf29fa

FatPkg/EnhancedFatDxe/UnicodeCollation.c

index 5427f67..69d9eaf 100644 (file)
@@ -87,7 +87,7 @@ InitializeUnicodeCollationSupportWorker (
     BestLanguage = GetBestLanguage (\r
                      Uci->SupportedLanguages,\r
                      Iso639Language,\r
-                     (Language == NULL) ? Language : "",\r
+                     (Language == NULL) ? "" : Language,\r
                      DefaultLanguage,\r
                      NULL\r
                      );\r