diff options
Diffstat (limited to 'backend/comics/comics-document.c')
-rw-r--r-- | backend/comics/comics-document.c | 2 |
1 files changed, 1 insertions, 1 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; |