mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-17 15:18:06 +01:00
Correct comment
This commit is contained in:
parent
4f5133deeb
commit
592b75ff01
@ -1311,8 +1311,8 @@ VOID ScanLoader(VOID)
|
|||||||
LoaderTitle.upperAscii();
|
LoaderTitle.upperAscii();
|
||||||
LoaderTitle += OSName.subString(1, OSName.length()) + L" Linux"_XSW;
|
LoaderTitle += OSName.subString(1, OSName.length()) + L" Linux"_XSW;
|
||||||
XImage ImageX; //will the image be destroyed or rewritten by next image after the cycle end?
|
XImage ImageX; //will the image be destroyed or rewritten by next image after the cycle end?
|
||||||
// load from directory, as we don't have linux icons preloaded
|
// Very few linux icons exist in IconNames, but these few may be preloaded
|
||||||
ImageX = ThemeX.LoadOSIcon(OSIconName);
|
ImageX = ThemeX.LoadOSIcon(OSIconName); // this tries preloaded first, and if it doesn't exist loads from directory
|
||||||
AddLoaderEntry(File, NullXStringArray, LoaderTitle, Volume,
|
AddLoaderEntry(File, NullXStringArray, LoaderTitle, Volume,
|
||||||
(ImageX.isEmpty() ? NULL : &ImageX), OSTYPE_LINEFI, OSFLAG_NODEFAULTARGS);
|
(ImageX.isEmpty() ? NULL : &ImageX), OSTYPE_LINEFI, OSFLAG_NODEFAULTARGS);
|
||||||
} //anyway continue search other entries
|
} //anyway continue search other entries
|
||||||
|
Loading…
Reference in New Issue
Block a user