Commit 36d1fe29 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix assert in bug 11023

parent 5b411246
2007-05-21 Carlos Garcia Campos <carlosgc@gnome.org>
* glib/poppler-action.cc: Fix assert in bug 11023
2007-05-21 Kouhei Sutou <kou@cozmixng.org>
* glib/poppler-page.cc:
......
......@@ -248,7 +248,7 @@ dest_new_goto (PopplerDocument *document,
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment