mscan: truncate deep indents

This commit is contained in:
Christian Neukirchen 2016-07-20 18:47:18 +02:00
parent d97e93bd26
commit f7535f2cec

View File

@ -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);