summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/curses/gui-display.c2
-rw-r--r--weechat/src/gui/curses/gui-display.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index ecee45c4a..5d0c0d662 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -1269,7 +1269,7 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
x = ptr_win->win_width - strlen (str_nicks) - 4;
}
else
- x = ptr_win->win_width;
+ x = ptr_win->win_width - 2;
string = weechat_convert_encoding (cfg_look_charset_decode,
(cfg_look_charset_internal && cfg_look_charset_internal[0]) ?
cfg_look_charset_internal : local_charset,
diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c
index ecee45c4a..5d0c0d662 100644
--- a/weechat/src/gui/curses/gui-display.c
+++ b/weechat/src/gui/curses/gui-display.c
@@ -1269,7 +1269,7 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
x = ptr_win->win_width - strlen (str_nicks) - 4;
}
else
- x = ptr_win->win_width;
+ x = ptr_win->win_width - 2;
string = weechat_convert_encoding (cfg_look_charset_decode,
(cfg_look_charset_internal && cfg_look_charset_internal[0]) ?
cfg_look_charset_internal : local_charset,