summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-doc.c')
-rw-r--r--source/html/html-doc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/html/html-doc.c b/source/html/html-doc.c
index 2e8b8ec4..f14ddc35 100644
--- a/source/html/html-doc.c
+++ b/source/html/html-doc.c
@@ -123,6 +123,7 @@ htdoc_open_document_with_stream(fz_context *ctx, fz_stream *file)
doc->super.layout = htdoc_layout;
doc->super.count_pages = htdoc_count_pages;
doc->super.load_page = htdoc_load_page;
+ doc->super.is_reflowable = 1;
doc->zip = fz_open_directory(ctx, ".");
doc->set = fz_new_html_font_set(ctx);
@@ -150,6 +151,7 @@ htdoc_open_document(fz_context *ctx, const char *filename)
doc->super.count_pages = htdoc_count_pages;
doc->super.load_page = htdoc_load_page;
doc->super.lookup_metadata = htdoc_lookup_metadata;
+ doc->super.is_reflowable = 1;
doc->zip = fz_open_directory(ctx, dirname);
doc->set = fz_new_html_font_set(ctx);