Fix size of arrays for colors (patch #7458)
This commit is contained in:
parent
21881bbc7b
commit
63b8aa1f23
@ -179,7 +179,7 @@ char *
|
||||
gui_chat_string_next_char (struct t_gui_window *window,
|
||||
const unsigned char *string, int apply_style)
|
||||
{
|
||||
char str_fg[3], str_bg[3], str_pair[6], *error;
|
||||
char str_fg[6], str_bg[6], str_pair[6], *error;
|
||||
int weechat_color, fg, bg, pair;
|
||||
|
||||
while (string[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user