Commits

Anonymous committed 4ae841a

fix padding, more specifically, don't

Comments (0)

Files changed (1)

 	if (line[len - 1] == '\n')
 		line[--len] = '\0';
 
-	printf("%-*.*s\n", cols, cols, line);
+	printf("%.*s\n", cols, line);
 
 	for (i = cols; i < len; i += cols)
-		printf("%*s| %-*.*s\n", margin - 2, "", cols - margin, cols - margin, line + i);
+		printf("%*s| %.*s\n", margin - 2, "", cols - margin, line + i);
 }
 
 void sigwinch(int unused)