mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-16 16:41:30 +00:00
fix a silly gzio bug
This commit is contained in:
parent
2f8f1b39b7
commit
74d8c81457
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue