Explorar o código

* Correctly initialize total_out

git-svn-id: trunk@49424 -
michael %!s(int64=4) %!d(string=hai) anos
pai
achega
d23feee55e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/paszlib/src/gzio.pas

+ 1 - 0
packages/paszlib/src/gzio.pas

@@ -165,6 +165,7 @@ begin
   s^.crc := crc32(0, nil, 0);
   s^.msg := '';
   s^.transparent := false;
+  s^.total_out:=0;
 
   s^.path := path; { limit to 255 chars }