diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/gui/gui-buffer.c | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2007-08-29 +ChangeLog - 2007-08-30 Version 0.2.6 (under dev!): + * fixed crash when searching text in buffer with ctrl-R (bug #20938) * added string length limit for setup file options * fixed bug with flock() when home is on NFS filesystem (bug #20913) * added option to align text of messages (except first lines) (task #7246) diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 04e16ad18..7f0a181f5 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -721,7 +721,6 @@ gui_buffer_line_new (t_gui_buffer *buffer, time_t date) buffer->lines = ptr_line; ptr_line->prev_line = NULL; buffer->num_lines--; - gui_chat_draw (buffer, 1); } return new_line; @@ -737,7 +736,7 @@ gui_buffer_line_search (t_gui_line *line, char *text, int case_sensitive) char *data; int rc; - if (!text || !text[0]) + if (!line || !line->data || !text || !text[0]) return 0; rc = 0; |