aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-01-12 15:22:06 +0000
committerJeremias Maerki <jeremias@apache.org>2009-01-12 15:22:06 +0000
commitcc021d903ac2e40641df5452d971f5ebe04a8086 (patch)
tree9eb3e57b5c5bd12b7b4070eaa25629ffe5c8eec3 /src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java
parentb1b3fa046cafcd445dc998bfc3b29896d0b7211a (diff)
downloadxmlgraphics-fop-cc021d903ac2e40641df5452d971f5ebe04a8086.tar.gz
xmlgraphics-fop-cc021d903ac2e40641df5452d971f5ebe04a8086.zip
Fixed assert statement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733781 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java')
-rw-r--r--src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java b/src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java
index b5e866380..3a6507252 100644
--- a/src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java
+++ b/src/java/org/apache/fop/afp/ptoca/PtocaBuilder.java
@@ -343,7 +343,7 @@ public abstract class PtocaBuilder implements PtocaConstants {
if (incr == this.currentVariableSpaceCharacterIncrement) {
return;
}
- assert incr > 0 && incr < (1 << 16);
+ assert incr >= 0 && incr < (1 << 16);
newControlSequence();
writeShort(Math.abs(incr)); //Increment
commit(chained(SVI));