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 @@
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 @@
if (printCommands) {
printf(" mark point: %s ", args[0].getName());
if (numArgs == 2)
- args[2].print(stdout);
+ args[1].print(stdout);
printf("\n");
fflush(stdout);
}