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,8 +589,9 @@ begin
|
|||
if fMain then aList.Add('-main');
|
||||
if fRelease then aList.Add('-release');
|
||||
for opt in fVerIds do begin
|
||||
if opt[1] = ';' then
|
||||
continue;
|
||||
if length(opt) > 0 then
|
||||
if opt[1] = ';' then
|
||||
continue;
|
||||
if length(opt) > 1 then
|
||||
if opt[1..2] = '//' then
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue