summaryrefslogtreecommitdiff
path: root/source/html
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-05-05 14:27:31 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-05-05 14:27:31 +0200
commit71d036f72b1c7fad22f326a93e4fe087edfcc7aa (patch)
tree3f1b03af3b1fee1cb84992b9c6fb60b337410c05 /source/html
parent2d0479f860048b651b6e969af51b73898fe3f181 (diff)
downloadmupdf-71d036f72b1c7fad22f326a93e4fe087edfcc7aa.tar.xz
epub: Fix list mark horizontal placement calculation.
Diffstat (limited to 'source/html')
-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 bccefed4..a64fccc4 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -908,7 +908,7 @@ static void draw_list_mark(fz_context *ctx, fz_html *box, float page_top, float
}
s = buf;
- x = box->x - box->padding[L] - box->border[L] - box->margin[L] - w;
+ x = box->x - w;
while (*s)
{
s += fz_chartorune(&c, s);