From 74d8c81457fc1ba247216f56563b49ddd3a20e95 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 19 Dec 2000 03:21:12 +0000 Subject: [PATCH] fix a silly gzio bug --- source/quakeio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/quakeio.c b/source/quakeio.c index 987a603..f9276f5 100644 --- a/source/quakeio.c +++ b/source/quakeio.c @@ -260,7 +260,7 @@ Qprintf (QFile *file, const char *fmt, ...) ret = strlen (buf); /* some *snprintf don't return the nb of bytes written */ if (ret > 0) - ret = gzwrite (file, buf, (unsigned) ret); + ret = gzwrite (file->gzfile, buf, (unsigned) ret); } #endif va_end (args);