From: Mark Wooding Date: Fri, 25 Mar 2022 00:49:59 +0000 (+0000) Subject: multiprogress.h: Add the right number of zeros to `PROGRESS_TTYINFO_INIT'. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/85218b4283ca8e1b4d78db17aab3cea3f0b042c4?hp=847b25bd08d4b062263e36cbe43b842920b855f1 multiprogress.h: Add the right number of zeros to `PROGRESS_TTYINFO_INIT'. --- diff --git a/multiprogress.h b/multiprogress.h index 7d8a6e7..a1121eb 100644 --- a/multiprogress.h +++ b/multiprogress.h @@ -16,7 +16,8 @@ struct progress_ttyinfo { } cap; unsigned defwd, defht; /* default width and height */ }; -#define PROGRESS_TTYINFO_INIT { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } +#define PROGRESS_TTYINFO_INIT \ + { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 80, 25 } struct progress_state { struct progress_ttyinfo tty; /* terminal state */