mirror of https://gitlab.com/basile.b/dexed.git
fix, possible AV if opt is empty
This commit is contained in:
parent
a85aeb8172
commit
03a6d355e2
|
@ -589,6 +589,7 @@ begin
|
||||||
if fMain then aList.Add('-main');
|
if fMain then aList.Add('-main');
|
||||||
if fRelease then aList.Add('-release');
|
if fRelease then aList.Add('-release');
|
||||||
for opt in fVerIds do begin
|
for opt in fVerIds do begin
|
||||||
|
if length(opt) > 0 then
|
||||||
if opt[1] = ';' then
|
if opt[1] = ';' then
|
||||||
continue;
|
continue;
|
||||||
if length(opt) > 1 then
|
if length(opt) > 1 then
|
||||||
|
|
Loading…
Reference in New Issue