From 1bb8b0dd340df7f17dde1338f6efed19d59df798 Mon Sep 17 00:00:00 2001 From: jief666 Date: Wed, 14 Oct 2020 16:40:07 +0300 Subject: [PATCH] "DriveImageData" typo. --- rEFIt_UEFI/Platform/Settings.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index 37960865f..aa7654388 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -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(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();