summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'fitz')
-rw-r--r--fitz/base_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_error.c b/fitz/base_error.c
index 869bf95e..0167611a 100644
--- a/fitz/base_error.c
+++ b/fitz/base_error.c
@@ -96,7 +96,7 @@ int fz_push_try(fz_error_context *ex)
* direct to the always/catch clauses. */
assert(ex->top == nelem(ex->stack)-1);
strcpy(ex->message, "exception stack overflow!\n");
- ex->stack[ex->top].code = 1;
+ ex->stack[ex->top].code = 2;
return 0;
}