summaryrefslogtreecommitdiff
path: root/glib/poppler-attachment.cc
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2012-01-31 13:02:16 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-02-04 11:19:53 +0100
commite074e526fa206403b84da5ce0f27d7357223c7ac (patch)
tree127d46fdae39c28fc3b616e6ad5ed059a65d4045 /glib/poppler-attachment.cc
parentbc389cff91c350d7da186d4cf707c389c77bbc29 (diff)
Fix return value of poppler_attachment_save
Fixes bug #45440.
Diffstat (limited to 'glib/poppler-attachment.cc')
-rw-r--r--glib/poppler-attachment.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc
index d07f1ab7..874bffb7 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