fix a silly gzio bug

This commit is contained in:
Bill Currie 2000-12-19 03:21:12 +00:00
parent 2f8f1b39b7
commit 74d8c81457
1 changed files with 1 additions and 1 deletions

View File

@ -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);