summaryrefslogtreecommitdiff
path: root/fitz/base_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/base_error.c')
-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 f6badff6..24e5f642 100644
--- a/fitz/base_error.c
+++ b/fitz/base_error.c
@@ -46,7 +46,7 @@ void fz_warn(fz_context *ctx, char *fmt, ...)
static void throw(fz_error_context *ex)
{
if (ex->top >= 0) {
- longjmp(ex->stack[ex->top--].buffer, 1);
+ longjmp(ex->stack[ex->top].buffer, 1);
} else {
fprintf(stderr, "uncaught exception: %s\n", ex->message);
LOGE("uncaught exception: %s\n", ex->message);