1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2024-12-17 23:15:52 +01:00

优化显示长度

This commit is contained in:
源文雨 2022-03-02 17:51:49 +08:00
parent 8521110a78
commit f80a04096a

2
cmoe.c
View File

@ -144,7 +144,7 @@ static void return_count(char* name, char* theme) {
head = svg_small;
}
headers(get_content_len(isbig, len_type, cntstr), "image/svg+xml");
printf(head, w*(10+cntstrbuf-cntstr));
printf(head, w*(9+cntstrbuf-cntstr));
for(int i = 0; cntstr[i]; i++) {
printf(img_slot_front, w * i, w, h);
int n = cntstr[i] - '0';