Skip to content
Snippets Groups Projects
Commit 8ab99a7e authored by Moe Jette's avatar Moe Jette
Browse files

Only used one digit of output labels for ten tasks (zero origin).

parent 0a987d14
No related branches found
No related tags found
No related merge requests found
......@@ -440,6 +440,7 @@ static int
_wid(int n)
{
int width = 1;
n--; /* For zero origin */
while (n /= 10)
width++;
return width;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment