utils/pdfinfo.cc | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 0f891b85169dabd3d23348aba40266547bd4bcf6
Author: Adrian Johnson <[email protected]>
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(" \"");
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler