|
@@ -1220,7 +1220,8 @@ begin
|
|
fmOutput :
|
|
fmOutput :
|
|
begin
|
|
begin
|
|
TextRec(f).InOutFunc:=@FileWriteFunc;
|
|
TextRec(f).InOutFunc:=@FileWriteFunc;
|
|
- TextRec(f).FlushFunc:=@FileWriteFunc;
|
|
|
|
|
|
+ if Do_Isdevice(hdl) then
|
|
|
|
+ TextRec(f).FlushFunc:=@FileWriteFunc;
|
|
end;
|
|
end;
|
|
else
|
|
else
|
|
HandleError(102);
|
|
HandleError(102);
|