Fix compilation of nds and wii OS rtl

This commit is contained in:
Pierre Muller 2021-10-21 22:09:05 +02:00
parent 429438fbb9
commit f4580ff612
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function paramstr(l: longint) : string;
begin
paramstr := execpathstr;
end
else (l > 0) and (l < argc) then
else if (l > 0) and (l < argc) then
paramstr := strpas(argv[l])
else
paramstr := '';

View File

@ -128,7 +128,7 @@ function paramstr(l: longint) : string;
begin
paramstr := execpathstr;
end
else (l > 0) and ( l < argc ) then
else if (l > 0) and ( l < argc ) then
paramstr:=strpas(argv[l])
else
paramstr:='';