[poppler] utils/pdfinfo.cc

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Sep 13 10:44:52 UTC 2017


 utils/pdfinfo.cc |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 0f891b85169dabd3d23348aba40266547bd4bcf6
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed Sep 13 20:12:52 2017 +0930

    pdfinfo: don't truncate dest name

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(" \"");


More information about the poppler mailing list