libgpg-error: Update from 1.27 to 1.29
[termux-packages] / packages / poppler / poppler-PDFDoc.cc.patch
CommitLineData
45e3e22e
FF
1https://bugs.freedesktop.org/show_bug.cgi?id=103873
2
3diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
4index 90f039d8..a5249dcd 100644
5--- a/poppler/PDFDoc.cc
6+++ b/poppler/PDFDoc.cc
7@@ -1503,7 +1503,7 @@ void PDFDoc::writeXRefTableTrailer(Goffset uxrefOffset, XRef *uxref, GBool write
8 void PDFDoc::writeHeader(OutStream *outStr, int major, int minor)
9 {
10 outStr->printf("%%PDF-%d.%d\n", major, minor);
11- outStr->printf("%%\xE2\xE3\xCF\xD3\n");
12+ outStr->printf("%%%c%c%c%c\n", 0xE2, 0xE3, 0xCF, 0xD3);
13 }
14
15 void PDFDoc::markDictionnary (Dict* dict, XRef * xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum, std::set<Dict*> *alreadyMarkedDicts)
16