mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-23 21:11:32 +01:00
revert check for empty option
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
3796920a60
commit
da0022e7c5
@ -165,10 +165,10 @@ XString AddLoadOption(IN CONST XString& LoadOptions, IN CONST XString& LoadOptio
|
||||
{
|
||||
// LoadOptions assumed out
|
||||
// If either option strings are null nothing to do
|
||||
if (LoadOption.isEmpty()) //nothing to add
|
||||
if (LoadOptions.isEmpty()) //initially empty so return new option even if empty
|
||||
{
|
||||
// return LoadOption as nothing to add
|
||||
return LoadOptions;
|
||||
// return LoadOption
|
||||
return LoadOption;
|
||||
}
|
||||
// If there is no option or it is already present duplicate original
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user