diff options
-rw-r--r-- | src/gui/gui-common.c | 3 | ||||
-rw-r--r-- | weechat/src/gui/gui-common.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index 719276c53..814b6e0f1 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -288,8 +288,7 @@ gui_buffer_clear (t_gui_buffer *buffer) } } - if (buffer == gui_current_window->buffer) - gui_draw_buffer_chat (buffer, 1); + gui_draw_buffer_chat (buffer, 1); } /* diff --git a/weechat/src/gui/gui-common.c b/weechat/src/gui/gui-common.c index 719276c53..814b6e0f1 100644 --- a/weechat/src/gui/gui-common.c +++ b/weechat/src/gui/gui-common.c @@ -288,8 +288,7 @@ gui_buffer_clear (t_gui_buffer *buffer) } } - if (buffer == gui_current_window->buffer) - gui_draw_buffer_chat (buffer, 1); + gui_draw_buffer_chat (buffer, 1); } /* |