mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
let HUlib_init_multiline() clear all lines
This commit is contained in:
parent
629c1662a4
commit
4be06980d2
@ -475,8 +475,8 @@ void HUlib_init_multiline(hu_multiline_t *m,
|
|||||||
if (m->lines[i] == NULL)
|
if (m->lines[i] == NULL)
|
||||||
{
|
{
|
||||||
m->lines[i] = malloc(sizeof(hu_line_t));
|
m->lines[i] = malloc(sizeof(hu_line_t));
|
||||||
HUlib_clear_line(m->lines[i]);
|
|
||||||
}
|
}
|
||||||
|
HUlib_clear_line(m->lines[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
m->font = f;
|
m->font = f;
|
||||||
|
@ -580,8 +580,6 @@ void HU_Start(void)
|
|||||||
HUlib_init_multiline(&w_message, message_list ? hud_msg_lines : 1,
|
HUlib_init_multiline(&w_message, message_list ? hud_msg_lines : 1,
|
||||||
&doom_font, colrngs[hudcolor_mesg],
|
&doom_font, colrngs[hudcolor_mesg],
|
||||||
&message_on, NULL);
|
&message_on, NULL);
|
||||||
// [FG] clear messages
|
|
||||||
HUlib_clear_all_lines(&w_message);
|
|
||||||
|
|
||||||
// create the secret message widget
|
// create the secret message widget
|
||||||
HUlib_init_multiline(&w_secret, 1,
|
HUlib_init_multiline(&w_secret, 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user