mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-15 18:14:02 +00:00
mscan: truncate deep indents
This commit is contained in:
parent
d97e93bd26
commit
f7535f2cec
4
mscan.c
4
mscan.c
@ -140,6 +140,10 @@ oneline(char *file)
|
|||||||
u8putstr(stdout, fromdec, 17, 1);
|
u8putstr(stdout, fromdec, 17, 1);
|
||||||
printf(" ");
|
printf(" ");
|
||||||
int z;
|
int z;
|
||||||
|
if (indent > 18) {
|
||||||
|
printf("..%2d..", indent/2);
|
||||||
|
indent = 14;
|
||||||
|
}
|
||||||
for (z = 0; z < indent; z++)
|
for (z = 0; z < indent; z++)
|
||||||
printf(" ");
|
printf(" ");
|
||||||
u8putstr(stdout, subjdec, cols-38-indent, 0);
|
u8putstr(stdout, subjdec, cols-38-indent, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user