summaryrefslogtreecommitdiff
path: root/src/gui/gui-buffer.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-07-12 15:00:45 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-07-12 15:00:45 +0000
commit241f70f869c9d04ad13fdaa8b53ba57067426e8b (patch)
tree84c615ab66fb2b90eeabefcf7360fe9eb3db63ee /src/gui/gui-buffer.c
parent9d5ef17bd66a91b8023e428e316d039e31f5f858 (diff)
downloadweechat-241f70f869c9d04ad13fdaa8b53ba57067426e8b.zip
Fixed bugs with IRC color in messages, now color codes are inserted in command line with ^Cc,^Cb,.. instead of %C,%B,.. (bug #20222, task #7060)
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r--src/gui/gui-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index 3de88052a..05758b68b 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -735,7 +735,7 @@ gui_buffer_line_search (t_gui_line *line, char *text, int case_sensitive)
return 0;
rc = 0;
- data = (char *)gui_color_decode ((unsigned char *)line->data, 0);
+ data = (char *)gui_color_decode ((unsigned char *)line->data, 0, 0);
if (data)
{
if ((case_sensitive && (strstr (data, text)))