diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 12:30:21 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 12:30:21 +0200 |
commit | b0ea4715cae82978eea3c0cd7f71ab9ef8a8623a (patch) | |
tree | 44443fa577a3175a214d3584d8edf7254f6dad21 /src | |
parent | 9b87c5bb0209a6d41f19414d7a8a0791f9c32be5 (diff) | |
download | weechat-b0ea4715cae82978eea3c0cd7f71ab9ef8a8623a.zip |
Fixed crash when nicklist is top/bottom and that we open a new buffer with a nicklist
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 98e6cb6ae..031d66eb6 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -122,7 +122,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin, char *category, char *name, new_buffer->nicklist = 0; new_buffer->nicklist_case_sensitive = 0; new_buffer->nicklist_root = NULL; - new_buffer->nicklist_max_length = -1; + new_buffer->nicklist_max_length = 0; new_buffer->nicklist_display_groups = 1; new_buffer->nicklist_visible_count = 0; new_buffer->nicklist_refresh_needed = 1; |