Hi,

reading over the patch again, I realize that in the original
behaviour:

>                       strcat(result, " ");
>                       strncat(result, spaces, 8 - (strlen(result) % 8));

... a tab is it least two spaces wide (if strlen == 8*n + 7) and up to
nine spaces wide (if strlen == 8*n). This sounds odd, so I'd suggest
the obvious fix of adding (7 - ((strlen(result)-1) % 8) spaces, since
one space is already there.

What do you think?

Julius

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to