From 0f891b85169dabd3d23348aba40266547bd4bcf6 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Wed, 13 Sep 2017 20:12:52 +0930 Subject: pdfinfo: don't truncate dest name --- utils/pdfinfo.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/pdfinfo.cc b/utils/pdfinfo.cc index 2daff7f9..2ef1cd59 100644 --- a/utils/pdfinfo.cc +++ b/utils/pdfinfo.cc @@ -407,7 +407,6 @@ static void printDestinations(PDFDoc *doc, UnicodeMap *uMap) { auto pageDests = map.find(*ref); if (pageDests != map.end()) { for (auto& it: pageDests->second) { - it.first->getCString()[4] = 0; printf("%4d ", i); printLinkDest(it.second); printf(" \""); -- cgit v1.2.3