[poppler] poppler/PDFDoc.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Dec 30 14:05:54 PST 2008


 poppler/PDFDoc.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ca35fdbc7c31dae432d775b6c087a83fa9b897fc
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Dec 30 23:03:57 2008 +0100

    We need spaces here too to satify other consumer parsers

diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 056d0f4..f73359c 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -642,7 +642,7 @@ void PDFDoc::writeDictionnary (Dict* dict, OutStream* outStr)
     writeObject(dict->getValNF(i, &obj1), NULL, outStr);
     obj1.free();
   }
-  outStr->printf(">>");
+  outStr->printf(">> ");
 }
 
 void PDFDoc::writeStream (Stream* str, OutStream* outStr)
@@ -747,7 +747,7 @@ Guint PDFDoc::writeObject (Object* obj, Ref* ref, OutStream* outStr)
         writeObject(array->getNF(i, &obj1), NULL,outStr);
         obj1.free();
       }
-      outStr->printf("]");
+      outStr->printf("] ");
       break;
     case objDict:
       writeDictionnary (obj->getDict(),outStr);


More information about the poppler mailing list