summaryrefslogtreecommitdiff
path: root/content/handlers/html
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html')
-rw-r--r--content/handlers/html/list_counter_style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/list_counter_style.c b/content/handlers/html/list_counter_style.c
index d2be0f770..af643df80 100644
--- a/content/handlers/html/list_counter_style.c
+++ b/content/handlers/html/list_counter_style.c
@@ -523,7 +523,7 @@ list_counter_style_value(char *text,
res = text_len-2;
}
text[res++] = '.';
- text[res++] = 0;
+ text[res] = 0;
return res;
}