summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/html.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mupdf/html.h b/include/mupdf/html.h
index 3955aebc..fd42ec08 100644
--- a/include/mupdf/html.h
+++ b/include/mupdf/html.h
@@ -215,8 +215,10 @@ struct fz_html_flow_s
unsigned int block_r2l : 1;
float x, y, w, h, em;
fz_css_style *style;
- char *text;
- fz_image *image;
+ union {
+ char *text;
+ fz_image *image;
+ } content;
fz_html_flow *next;
};