From 14551221587305fd303c96e10baf13bd5494684b Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 10 Jan 2002 13:38:56 +0000 Subject: Zlib fix... --- lib/Handle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Handle.cc') diff --git a/lib/Handle.cc b/lib/Handle.cc index 28c1086..6c3bbbd 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -216,7 +216,7 @@ void Handle::SetZ(int az) throw (GeneralException) { if (CanWrite()) { format[index++] = 'w'; } - format[index++] = (char) (z + '0'); + format[index++] = (char) (az + '0'); format[index] = 0; cerr << "Performing gzdopen on handle " << h << " with mode \"" << format << "\"\n"; if (!(zfile = gzdopen(h, format))) { -- cgit v1.2.3