summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-02-04 21:17:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-02-04 21:17:00 +0100
commit63b8aa1f23249e132b975dfaf2089a9fe2dc1464 (patch)
treed33e274062b81fc128ff53dcbe6317d771e02194
parent21881bbc7bf44e108450c16bff62a26dc2857dbd (diff)
downloadweechat-63b8aa1f23249e132b975dfaf2089a9fe2dc1464.zip
Fix size of arrays for colors (patch #7458)
-rw-r--r--src/gui/curses/gui-curses-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index 21a836e56..a462631c4 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -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])