Ver Fonte

+ Merged revision 2971

git-svn-id: branches/fixes_2_0@2972 -
michael há 19 anos atrás
pai
commit
a6ee29f05b
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      rtl/inc/text.inc

+ 2 - 1
rtl/inc/text.inc

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