1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Improve printing formatted build information.

This commit is contained in:
Steven Schubiger 2008-11-14 13:48:32 +01:00
parent a6de4721d1
commit 94d7b0b570
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-11-14 Steven Schubiger <stsc@members.fsf.org>
* main.c (format_and_print_line): Use a custom format
string for printing leading spaces.
2008-11-12 Micah Cowan <micah@cowan.name>
* ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href.

View File

@ -733,13 +733,7 @@ format_and_print_line (const char *prefix, const char *line,
token on the next line. */
if (remaining_chars <= strlen (token))
{
int j;
printf ("\n");
j = 0;
for (j = 0; j < leading_spaces; j++)
{
printf (" ");
}
printf ("\n%*c", leading_spaces, ' ');
remaining_chars = line_length - leading_spaces;
}
printf ("%s ", token);