summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-02-10 17:40:24 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2021-02-10 17:57:57 +0000
commitd29f6d6c1e8433f718b6de3d31626cd6f06c352f (patch)
tree7714e50d8e57c258924de2654fe714c7e6ee99fe /content/handlers
parente18bb8fde15d860f198b9555ddac123273ea2e30 (diff)
downloadnetsurf-d29f6d6c1e8433f718b6de3d31626cd6f06c352f.tar.gz
netsurf-d29f6d6c1e8433f718b6de3d31626cd6f06c352f.tar.bz2
html: layout: Change list value step to variable.
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/html/layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/handlers/html/layout.c b/content/handlers/html/layout.c
index 8f84cf4b6..6d7d70f31 100644
--- a/content/handlers/html/layout.c
+++ b/content/handlers/html/layout.c
@@ -4528,6 +4528,7 @@ layout__ordered_list_count(
dom_html_element_type tag_type;
dom_exception exc;
dom_node *child;
+ int step = 1;
int next;
if (box->node == NULL) {
@@ -4578,7 +4579,7 @@ layout__ordered_list_count(
} else {
marker->list_value = next;
}
- next++;
+ next += step;
}
}