diff options
author | AJFISH <AJFISH@efd2e655-3735-4b16-a529-16bfa2dd702b> | 2009-12-15 22:15:22 +0000 |
---|---|---|
committer | AJFISH <AJFISH@efd2e655-3735-4b16-a529-16bfa2dd702b> | 2009-12-15 22:15:22 +0000 |
commit | a8db3d4f842c1224b6b6e3b14ffac09cbb6a67ad (patch) | |
tree | e278795a2ea00dcfb961873382dc5dae08184b3b /FatPkg | |
parent | 4416bf4a6c3b4f78c2316b992638b3627850dd36 (diff) |
Fix bug in Unicode colloation that causes ASSERT on BeagleBoard. PlatformLang or Lang variables are not processed correctly. NULL pointer is passed if no variable exists.
git-svn-id: https://edk2-fatdriver2.svn.sourceforge.net/svnroot/edk2-fatdriver2/trunk@46 efd2e655-3735-4b16-a529-16bfa2dd702b
Diffstat (limited to 'FatPkg')
-rw-r--r-- | FatPkg/EnhancedFatDxe/UnicodeCollation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FatPkg/EnhancedFatDxe/UnicodeCollation.c b/FatPkg/EnhancedFatDxe/UnicodeCollation.c index 5427f6701d..69d9eaf405 100644 --- a/FatPkg/EnhancedFatDxe/UnicodeCollation.c +++ b/FatPkg/EnhancedFatDxe/UnicodeCollation.c @@ -87,7 +87,7 @@ InitializeUnicodeCollationSupportWorker ( BestLanguage = GetBestLanguage (
Uci->SupportedLanguages,
Iso639Language,
- (Language == NULL) ? Language : "",
+ (Language == NULL) ? "" : Language,
DefaultLanguage,
NULL
);
|