diff options
Diffstat (limited to 'content/handlers/html/layout.c')
-rw-r--r-- | content/handlers/html/layout.c | 3 |
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; } } |