Browse Source

* Fix bug ID #34059, double flush in compressed stream

git-svn-id: trunk@39526 -
michael 7 years ago
parent
commit
7c0eec6a3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-pdf/src/fppdf.pp

+ 1 - 1
packages/fcl-pdf/src/fppdf.pp

@@ -1212,7 +1212,7 @@ begin
   try
     AFrom.Position := 0;
     c.CopyFrom(AFrom, AFrom.Size);
-    c.Flush;
+    //c.Flush; called in c.Free
   finally
     c.Free;
   end;