[poppler] poppler/glib: poppler-action.cc,1.11,1.12
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon May 21 14:42:40 PDT 2007
Update of /cvs/poppler/poppler/glib
In directory kemper:/tmp/cvs-serv16619/glib
Modified Files:
poppler-action.cc
Log Message:
Fix assert in bug 11023
Index: poppler-action.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-action.cc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- poppler-action.cc 25 Apr 2007 19:59:10 -0000 1.11
+++ poppler-action.cc 21 May 2007 21:42:38 -0000 1.12
@@ -248,7 +248,7 @@
dest->change_top = link_dest->getChangeTop ();
dest->change_zoom = link_dest->getChangeZoom ();
- if (dest->page_num > 0) {
+ if (document && dest->page_num > 0) {
PopplerPage *page;
page = poppler_document_get_page (document, dest->page_num - 1);
More information about the poppler
mailing list