summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/apache/fop/fo/pagination/PageSequence.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java
index 34278d162..d697529e4 100644
--- a/src/org/apache/fop/fo/pagination/PageSequence.java
+++ b/src/org/apache/fop/fo/pagination/PageSequence.java
@@ -108,6 +108,7 @@ public class PageSequence extends FObj
if ( parent.getName().equals("fo:root") )
{
+ this.runningPageNumberCounter=0; //else not initialized correctly
this.root = (Root) parent;
this.root.addPageSequence(this);
}