poppler/Gfx.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2c312be2c2dd5699bb301c28d2d847eec62bb969
Author: Brad Hards <[EMAIL PROTECTED]>
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);
}
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler