Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-03-24 04:50:37 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-03-24 04:50:37 (GMT)
commitd547902efb856e675cf9638528dbcd8c249dc4eb (patch)
tree20662b7197f12d32c85c4a92e9fdda06550324c7 /pdf
parent1c0d19bd22598eca159c3febdcdaf4168891cb8f (diff)
add 1 to the page, as this seems to be 1 based. I thought we has this
Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com> * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add 1 to the page, as this seems to be 1 based. I thought we has this fixed. grump.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf-document.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf/pdf-document.cc b/pdf/pdf-document.cc
index 0d0ad89..065130f 100644
--- a/pdf/pdf-document.cc
+++ b/pdf/pdf-document.cc
@@ -1428,6 +1428,9 @@ pdf_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document_thumbnails
Thumb *thumb = NULL;
gboolean have_ethumbs = FALSE;
+ /* Add 1 to page. !@#!!~!#!@#! */
+ page ++;
+
the_page = pdf_document->doc->getCatalog ()->getPage (page);
the_page->getThumb(&the_thumb);