summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-04-16 00:26:56 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-04-16 10:44:28 +0200
commitdb9e364bb11233efb0c4420684972a6be389b837 (patch)
tree4778e5ccc291d9738500abba4826dc5accffa913 /source
parentad77bea08c581aa16d0cb2e63985aae2db5fe2af (diff)
downloadmupdf-db9e364bb11233efb0c4420684972a6be389b837.tar.xz
Fix typo in html-layout.c
The find_accumulated_margins function should be a void return type.
Diffstat (limited to 'source')
-rw-r--r--source/html/html-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index 7f2472f3..157c8685 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -493,7 +493,7 @@ static fz_html_flow *find_next_word(fz_html_flow *node, float *w)
return node;
}
-static float find_accumulated_margins(fz_context *ctx, fz_html *box, float *w, float *h)
+static void find_accumulated_margins(fz_context *ctx, fz_html *box, float *w, float *h)
{
while (box)
{