summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/comics/comics-document.c2
-rw-r--r--backend/epub/minizip/unzip.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index ae37d23a..d799b208 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -764,7 +764,7 @@ comics_document_render_pixbuf (EvDocument *document,
if (bytes > 0) {
gdk_pixbuf_loader_write (loader, buf, bytes,
NULL);
- } else if (bytes <= 0) {
+ } else {
close (outpipe);
gdk_pixbuf_loader_close (loader, NULL);
outpipe = -1;
diff --git a/backend/epub/minizip/unzip.c b/backend/epub/minizip/unzip.c
index 90935043..2ed54a11 100644
--- a/backend/epub/minizip/unzip.c
+++ b/backend/epub/minizip/unzip.c
@@ -119,9 +119,6 @@
#define SIZEZIPLOCALHEADER (0x1e)
-const char unz_copyright[] =
- " unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";
-
/* unz_file_info_interntal contain internal info about a file in zipfile*/
typedef struct unz_file_info64_internal_s
{
@@ -600,9 +597,6 @@ local unzFile unzOpenInternal (const void *path,
int err=UNZ_OK;
- if (unz_copyright[0]!=' ')
- return NULL;
-
us.z_filefunc.zseek32_file = NULL;
us.z_filefunc.ztell32_file = NULL;
if (pzlib_filefunc64_32_def==NULL)