From d547902efb856e675cf9638528dbcd8c249dc4eb Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 24 Mar 2005 04:50:37 +0000 Subject: 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 * 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. --- (limited to 'pdf') 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); -- cgit v0.9.1