mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
do not count the null terminator in list counter style length formatting
This commit is contained in:
parent
27b178b04b
commit
bca82dfe83
@ -523,7 +523,7 @@ list_counter_style_value(char *text,
|
||||
res = text_len-2;
|
||||
}
|
||||
text[res++] = '.';
|
||||
text[res++] = 0;
|
||||
text[res] = 0;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user