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;
|
res = text_len-2;
|
||||||
}
|
}
|
||||||
text[res++] = '.';
|
text[res++] = '.';
|
||||||
text[res++] = 0;
|
text[res] = 0;
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue