mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 19:29:31 +01:00
MG: fixed outputfilter for lines without newline chars
git-svn-id: trunk@3366 -
This commit is contained in:
parent
e77897d318
commit
9fe39dbb20
@ -179,7 +179,7 @@ begin
|
||||
end;
|
||||
inc(i);
|
||||
end;
|
||||
OutputLine:=copy(Buf,LineStart,Count-LineStart+1);
|
||||
OutputLine:=OutputLine+copy(Buf,LineStart,Count-LineStart+1);
|
||||
until Count=0;
|
||||
TheProcess.WaitOnExit;
|
||||
if ErrorExists and (ofoExceptionOnError in Options) then
|
||||
@ -483,7 +483,7 @@ begin
|
||||
dec(i);
|
||||
inc(i);
|
||||
while (i<fOutput.Count) do begin
|
||||
if (fOutput[i]<>'') and (fOutput[i][1]='-') then
|
||||
if (fOutput[i]<>'') then
|
||||
DoAddFilteredLine(fOutput[i]);
|
||||
inc(i);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user