[poppler] poppler/glib: poppler-document.cc,1.14,1.15

Kristian Hogsberg krh at freedesktop.org
Sat May 21 14:33:09 PDT 2005


Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv4922/glib

Modified Files:
	poppler-document.cc 
Log Message:
2005-05-21  Kristian Høgsberg  <krh at redhat.com>

        * glib/poppler-document.cc (poppler_ps_file_new): Fix off-by-one
        error spotted by Jürg Billeter.
-----------------------------------------------------


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-document.cc,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- poppler-document.cc	18 May 2005 17:39:59 -0000	1.14
+++ poppler-document.cc	21 May 2005 21:33:07 -0000	1.15
@@ -599,7 +599,7 @@
 					document->doc->getXRef(),
 					document->doc->getCatalog(),
 					first_page + 1,
-					first_page + n_pages - 1,
+					first_page + 1 + n_pages - 1,
 					psModePS);
 
 	return ps_file;



More information about the poppler mailing list