From e8ab1c9a6d7096f8244b2bab40815c7ca81939c1 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Mon, 3 Jun 2019 15:48:11 +0200 Subject: [PATCH] Fix for misleading doc comment on `mz_zip_reader_init_cfile` function. --- miniz_zip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniz_zip.h b/miniz_zip.h index 233d729..83e5206 100644 --- a/miniz_zip.h +++ b/miniz_zip.h @@ -210,7 +210,7 @@ MINIZ_EXPORT mz_bool mz_zip_reader_init_file(mz_zip_archive *pZip, const char *p MINIZ_EXPORT mz_bool mz_zip_reader_init_file_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint flags, mz_uint64 file_start_ofs, mz_uint64 archive_size); /* Read an archive from an already opened FILE, beginning at the current file position. */ -/* The archive is assumed to be archive_size bytes long. If archive_size is < 0, then the entire rest of the file is assumed to contain the archive. */ +/* The archive is assumed to be archive_size bytes long. If archive_size is 0, then the entire rest of the file is assumed to contain the archive. */ /* The FILE will NOT be closed when mz_zip_reader_end() is called. */ MINIZ_EXPORT mz_bool mz_zip_reader_init_cfile(mz_zip_archive *pZip, MZ_FILE *pFile, mz_uint64 archive_size, mz_uint flags); #endif