From 1e46f6f73d5903507d891ecd8a5ca5cab03998bc Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Tue, 31 Jan 2012 13:02:16 +0100 Subject: [PATCH] Fix return value of poppler_attachment_save Fixes bug #45440. --- glib/poppler-attachment.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc index d07f1ab..874bffb 100644 --- a/glib/poppler-attachment.cc +++ b/glib/poppler-attachment.cc @@ -210,7 +210,7 @@ poppler_attachment_save (PopplerAttachment *attachment, return FALSE; } - return TRUE; + return result; } #define BUF_SIZE 1024 -- 1.7.7