summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2017-09-13 20:12:52 +0930
committerAdrian Johnson <ajohnson@redneon.com>2017-09-13 20:12:52 +0930
commit0f891b85169dabd3d23348aba40266547bd4bcf6 (patch)
tree6d533bf678dc3ac6b37488206af02a87990e81a5
parent951e7b3c1f337ceaf490edce3c575f89c45cb6d4 (diff)
pdfinfo: don't truncate dest name
-rw-r--r--utils/pdfinfo.cc1
1 files changed, 0 insertions, 1 deletions
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(" \"");