1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2024-11-23 22:00:56 +01:00

优化显示长度

This commit is contained in:
源文雨 2022-03-02 17:56:18 +08:00
parent f80a04096a
commit df36f7b9fd

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*(9+cntstrbuf-cntstr));
printf(head, w*(10+cntstrbuf-cntstr));
for(int i = 0; cntstr[i]; i++) {
printf(img_slot_front, w * i, w, h);
int n = cntstr[i] - '0';