[poppler] Branch 'poppler-0.6' - poppler/Gfx.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Nov 28 12:21:50 PST 2007


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

New commits:
commit 2c312be2c2dd5699bb301c28d2d847eec62bb969
Author: Brad Hards <bradh at frogmouth.net>
Date:   Wed Nov 28 21:21:19 2007 +0100

    Fix off-by-one in printCommands path.

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index a533138..c6f0767 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -4014,7 +4014,7 @@ void Gfx::opBeginMarkedContent(Object args[], int numArgs) {
   if (printCommands) {
     printf("  marked content: %s ", args[0].getName());
     if (numArgs == 2)
-      args[2].print(stdout);
+      args[1].print(stdout);
     printf("\n");
     fflush(stdout);
   }
@@ -4034,7 +4034,7 @@ void Gfx::opMarkPoint(Object args[], int numArgs) {
   if (printCommands) {
     printf("  mark point: %s ", args[0].getName());
     if (numArgs == 2)
-      args[2].print(stdout);
+      args[1].print(stdout);
     printf("\n");
     fflush(stdout);
   }


More information about the poppler mailing list