mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
assume 79 columns instead of 80 in case we don't know, to better work on
win32 systems
This commit is contained in:
parent
2be8c7a4e9
commit
ede7cf175e
@ -71,7 +71,7 @@ void ProgressInit(struct UrlData *data, int max)
|
||||
if (curl_GetEnv("COLUMNS") != NULL)
|
||||
width = atoi(curl_GetEnv("COLUMNS"));
|
||||
else
|
||||
width = 80;
|
||||
width = 79;
|
||||
|
||||
progressmax = max;
|
||||
if(-1 == max)
|
||||
|
Loading…
Reference in New Issue
Block a user