summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/psi/iscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/psi/iscan.c b/gs/psi/iscan.c
index 0f997dda2..4dffac23e 100644
--- a/gs/psi/iscan.c
+++ b/gs/psi/iscan.c
@@ -127,7 +127,7 @@ dynamic_grow(da_ptr pda, byte * next, uint max_size)
int code;
pda->next = next;
- if (old_size == max_size)
+ if (old_size >= max_size)
return_error(e_limitcheck);
while ((code = dynamic_resize(pda, new_size)) < 0 &&
new_size > old_size