multiprogress.h: Add the right number of zeros to `PROGRESS_TTYINFO_INIT'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 25 Mar 2022 00:49:59 +0000 (00:49 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:51:16 +0000 (18:51 +0000)
multiprogress.h

index 7d8a6e7..a1121eb 100644 (file)
@@ -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 */