summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/context.c b/source/fitz/context.c
index 52c225e9..0f9a8b77 100644
--- a/source/fitz/context.c
+++ b/source/fitz/context.c
@@ -143,7 +143,6 @@ new_context_phase1(const fz_alloc_context *alloc, const fz_locks_context *locks)
fz_try(ctx)
{
fz_new_aa_context(ctx);
- fz_new_style_context(ctx);
}
fz_catch(ctx)
{
@@ -188,6 +187,7 @@ fz_new_context_imp(const fz_alloc_context *alloc, const fz_locks_context *locks,
fz_new_font_context(ctx);
fz_new_id_context(ctx);
fz_new_document_handler_context(ctx);
+ fz_new_style_context(ctx);
}
fz_catch(ctx)
{