"DriveImageData" typo.

This commit is contained in:
jief666 2020-10-14 16:40:07 +03:00
parent c7c079e0fb
commit 1bb8b0dd34

View File

@ -1719,7 +1719,7 @@ FillinCustomEntry (
// we can't load the file yet, as ThemeDir is not initialized
} else {
UINTN DataLen = 0;
UINT8 *TmpData = GetDataSetting (DictPointer, "ImageData", &DataLen);
UINT8 *TmpData = GetDataSetting (DictPointer, "DriveImageData", &DataLen);
if (TmpData) {
if (!EFI_ERROR(Entry->DriveImage.Image.FromPNG(TmpData, DataLen))) {
Entry->DriveImage.setFilled();
@ -2092,16 +2092,16 @@ FillingCustomTool (IN OUT CUSTOM_TOOL_ENTRY *Entry, const TagDict* DictPointer)
Entry->LoadOptions = Split<XString8Array>(Prop->getString()->stringValue(), " ");
}
Prop = DictPointer->propertyForKey("FullTitle");
if (Prop != NULL && (Prop->isString())) {
Entry->FullTitle = Prop->getString()->stringValue();
}
Prop = DictPointer->propertyForKey("Title");
if (Prop != NULL && (Prop->isString())) {
Entry->Title = Prop->getString()->stringValue();
}
Prop = DictPointer->propertyForKey("FullTitle");
if (Prop != NULL && (Prop->isString())) {
Entry->FullTitle = Prop->getString()->stringValue();
}
Prop = DictPointer->propertyForKey("Image");
if (Prop != NULL) {
Entry->ImagePath.setEmpty();