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

[svn] Simplify display_image.

This commit is contained in:
hniksic 2001-11-30 00:02:33 -08:00
parent ae3c268719
commit 7674ecd97e
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-11-30 Hrvoje Niksic <hniksic@arsdigita.com>
* progress.c (display_image): Just print one CR to reset the
cursor position.
2001-11-30 Christian Fraenkel <c.fraenkel@gmx.net>
* init.c: New command `ssl_egd_sock'.

View File

@ -644,10 +644,7 @@ create_image (struct bar_progress *bp, long dltime)
static void
display_image (char *buf)
{
char *del_buf = alloca (screen_width + 1);
memset (del_buf, '\b', screen_width);
del_buf[screen_width] = '\0';
logputs (LOG_VERBOSE, del_buf);
logputs (LOG_VERBOSE, "\r");
logputs (LOG_VERBOSE, buf);
}