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:
parent
a6de4721d1
commit
94d7b0b570
@ -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>
|
2008-11-12 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href.
|
* ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href.
|
||||||
|
@ -733,13 +733,7 @@ format_and_print_line (const char *prefix, const char *line,
|
|||||||
token on the next line. */
|
token on the next line. */
|
||||||
if (remaining_chars <= strlen (token))
|
if (remaining_chars <= strlen (token))
|
||||||
{
|
{
|
||||||
int j;
|
printf ("\n%*c", leading_spaces, ' ');
|
||||||
printf ("\n");
|
|
||||||
j = 0;
|
|
||||||
for (j = 0; j < leading_spaces; j++)
|
|
||||||
{
|
|
||||||
printf (" ");
|
|
||||||
}
|
|
||||||
remaining_chars = line_length - leading_spaces;
|
remaining_chars = line_length - leading_spaces;
|
||||||
}
|
}
|
||||||
printf ("%s ", token);
|
printf ("%s ", token);
|
||||||
|
Loading…
Reference in New Issue
Block a user