diff options
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/xpdf/pdf-document.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf/xpdf/pdf-document.cc b/pdf/xpdf/pdf-document.cc index 49da9e9..41c2eb8 100644 --- a/pdf/xpdf/pdf-document.cc +++ b/pdf/xpdf/pdf-document.cc @@ -813,7 +813,9 @@ build_link_from_action (PdfDocument *pdf_document, { EvLink *link = NULL; - if (link_action->getKind () == actionGoToR) { + if (link_action == NULL) { + link = ev_link_new_title (title); + } else if (link_action->getKind () == actionGoToR) { g_warning ("actionGoToR links not implemented"); } else if (link_action->getKind () == actionLaunch) { g_warning ("actionLaunch links not implemented"); |