revert check for empty option

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2020-04-11 21:16:05 +03:00
parent 3796920a60
commit da0022e7c5

View File

@ -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 {