mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2025-02-10 07:48:30 +01:00
优化显示长度
This commit is contained in:
parent
1c52b55bd4
commit
0da2c8d1b8
2
cmoe.c
2
cmoe.c
@ -144,7 +144,7 @@ static void return_count(char* name, char* theme) {
|
|||||||
head = svg_small;
|
head = svg_small;
|
||||||
}
|
}
|
||||||
headers(get_content_len(isbig, len_type, cntstr), "image/svg+xml");
|
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++) {
|
for(int i = 0; cntstr[i]; i++) {
|
||||||
printf(img_slot_front, w * i, w, h);
|
printf(img_slot_front, w * i, w, h);
|
||||||
int n = cntstr[i] - '0';
|
int n = cntstr[i] - '0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user