From b828a3b2e1549403ba2c886c75688be7829f0dd7 Mon Sep 17 00:00:00 2001 From: asava Date: Mon, 13 Apr 2020 18:55:20 +0300 Subject: [PATCH] Correct previous commit --- rEFIt_UEFI/entry_scan/loader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rEFIt_UEFI/entry_scan/loader.cpp b/rEFIt_UEFI/entry_scan/loader.cpp index 06cfbff42..9c63064db 100644 --- a/rEFIt_UEFI/entry_scan/loader.cpp +++ b/rEFIt_UEFI/entry_scan/loader.cpp @@ -1257,7 +1257,6 @@ VOID ScanLoader(VOID) XImage ImageX; XStringW IconXSW = XStringW().takeValueFrom(LinuxEntryData[Index].Icon); ImageX.LoadXImage(ThemeX.ThemeDir, (L"os_"_XSW + IconXSW.SubString(0, IconXSW.IdxOf(','))).wc_str()); - ImageX.LoadXImage(ThemeX.ThemeDir, LinuxEntryData[Index].Icon); AddLoaderEntry(LinuxEntryData[Index].Path, ""_XS, XStringW().takeValueFrom(LinuxEntryData[Index].Title), Volume, (ImageX.isEmpty() ? NULL : &ImageX), OSTYPE_LIN, OSFLAG_NODEFAULTARGS); }