summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-11-26 13:36:38 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-12-03 12:25:52 +0100
commitce6e762510c9232d2594bd8d302c6d63f56dcff6 (patch)
tree6ee6ffd749c794286de43068aa0156a94f0b2b06 /source/html/css-apply.c
parent3c88d1abef7ab287287a103fa617e50d54eece1d (diff)
downloadmupdf-ce6e762510c9232d2594bd8d302c6d63f56dcff6.tar.xz
html: Rename style, box and flow structs.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r--source/html/css-apply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c
index aa02a1b0..95099eda 100644
--- a/source/html/css-apply.c
+++ b/source/html/css-apply.c
@@ -757,7 +757,7 @@ white_space_from_property(fz_css_match *match)
}
void
-fz_default_css_style(fz_context *ctx, struct computed_style *style)
+fz_default_css_style(fz_context *ctx, fz_css_style *style)
{
memset(style, 0, sizeof *style);
style->text_align = TA_LEFT;
@@ -767,7 +767,7 @@ fz_default_css_style(fz_context *ctx, struct computed_style *style)
}
void
-fz_apply_css_style(fz_context *ctx, fz_html_font_set *set, struct computed_style *style, fz_css_match *match)
+fz_apply_css_style(fz_context *ctx, fz_html_font_set *set, fz_css_style *style, fz_css_match *match)
{
struct value *value;
@@ -967,7 +967,7 @@ print_rules(fz_css_rule *rule)
}
void
-print_style(struct computed_style *style)
+print_style(fz_css_style *style)
{
printf("style {\n");
printf("\tfont-size = %g%c;\n", style->font_size.value, style->font_size.unit);