~mdw
/
dvdrip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multiprogress.h: Add the right number of zeros to `PROGRESS_TTYINFO_INIT'.
[dvdrip]
/
multiprogress.h
diff --git
a/multiprogress.h
b/multiprogress.h
index
7d8a6e7
..
a1121eb
100644
(file)
--- a/
multiprogress.h
+++ b/
multiprogress.h
@@
-16,7
+16,8
@@
struct progress_ttyinfo {
} cap;
unsigned defwd, defht; /* default width and height */
};
} 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 */
struct progress_state {
struct progress_ttyinfo tty; /* terminal state */