[gs-commits] rev 10865 - trunk/ghostpdl/tools

hintak at ghostscript.com hintak at ghostscript.com
Fri Mar 5 02:03:25 UTC 2010


Author: hintak
Date: 2010-03-05 02:03:25 +0000 (Fri, 05 Mar 2010)
New Revision: 10865

Modified:
   trunk/ghostpdl/tools/pxldis.py
Log:
fix small bug introduced in r10859 where the operator pos in the output comment becomes off by 1

Modified: trunk/ghostpdl/tools/pxldis.py
===================================================================
--- trunk/ghostpdl/tools/pxldis.py	2010-03-05 00:42:34 UTC (rev 10864)
+++ trunk/ghostpdl/tools/pxldis.py	2010-03-05 02:03:25 UTC (rev 10865)
@@ -427,7 +427,7 @@
         print key
         self.index = self.index + 1
                 # handle special cases
-        if (self.isEmbedded(key)):
+        if (self.isEmbedded(key) or (key == 'VendorUnique')):
             self.process_EmbeddedInfo(key)
         return 1
 
@@ -715,7 +715,7 @@
 
     # check for embedded tags.
     def isEmbedded(self, name):
-        return ( name == 'embedded_data' or name == 'embedded_data_byte' or name == 'VendorUnique')
+        return ( name == 'embedded_data' or name == 'embedded_data_byte')
 
     def process_EmbeddedInfo(self, name):
         if ( name == 'embedded_data' ):



More information about the gs-commits mailing list