diff options
Diffstat (limited to 'fitz/base_error.c')
-rw-r--r-- | fitz/base_error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fitz/base_error.c b/fitz/base_error.c index 24e5f642..6b54fb69 100644 --- a/fitz/base_error.c +++ b/fitz/base_error.c @@ -79,6 +79,7 @@ void fz_throw(fz_context *ctx, char *fmt, ...) vsnprintf(ctx->error->message, sizeof ctx->error->message, fmt, args); va_end(args); + fz_flush_warnings(ctx); fprintf(stderr, "error: %s\n", ctx->error->message); LOGE("error: %s\n", ctx->error->message); |