]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix bug in Unicode colloation that causes ASSERT on BeagleBoard. PlatformLang or...
authorAndrew Fish <afish@apple.com>
Tue, 15 Dec 2009 22:15:22 +0000 (22:15 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
(based on FatPkg commit 0e3c94b9ac164caf705cc512a0e865fa0811b531)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Andrew Fish <afish@apple.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/UnicodeCollation.c

index 5427f6701d1259aeb70b1f74f5a76ee5a87d0a1a..69d9eaf405eb1b3874bac38ef3ee1f30d6fc3f86 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