Update upstream source from tag 'upstream/1.0.14'
Update to upstream version '1.0.14'
with Debian dir 331ac30bad2e143de4d5e22c369d5a0132eac189
Lev Lamberov
5 years ago
24 | 24 |
|
25 | 25 |
#define MDP_VER_MAJOR 1
|
26 | 26 |
#define MDP_VER_MINOR 0
|
27 | |
#define MDP_VER_REVISION 13
|
|
27 |
#define MDP_VER_REVISION 14
|
28 | 28 |
|
29 | 29 |
#endif // !defined( MAIN_H )
|
73 | 73 |
struct _slide_t *next;
|
74 | 74 |
int lines;
|
75 | 75 |
int stop;
|
|
76 |
int lines_consumed;
|
76 | 77 |
} slide_t;
|
77 | 78 |
|
78 | 79 |
typedef struct _deck_t {
|
157 | 157 |
max_lines_slide = sc;
|
158 | 158 |
}
|
159 | 159 |
|
|
160 |
slide->lines_consumed = lc;
|
160 | 161 |
slide = slide->next;
|
161 | 162 |
++sc;
|
162 | 163 |
}
|
|
336 | 337 |
|
337 | 338 |
// print lines
|
338 | 339 |
while(line) {
|
339 | |
add_line(content, l, (COLS - max_cols) / 2, line, max_cols, colors);
|
|
340 |
add_line(content, l + ((LINES - slide->lines_consumed - bar_top - bar_bottom) / 2),
|
|
341 |
(COLS - max_cols) / 2, line, max_cols, colors);
|
340 | 342 |
|
341 | 343 |
// raise stop counter if we pass a line having a stop bit
|
342 | 344 |
if(CHECK_BIT(line->bits, IS_STOP))
|