diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/gui-curses-chat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c index 40bc38577..0e41b3ac5 100644 --- a/src/gui/curses/gui-curses-chat.c +++ b/src/gui/curses/gui-curses-chat.c @@ -56,11 +56,16 @@ int gui_chat_get_real_width (struct t_gui_window *window) { - if ((window->win_chat_width > 1) + if (CONFIG_BOOLEAN(config_look_chat_space_right) + && (window->win_chat_width > 1) && (window->win_chat_x + window->win_chat_width < gui_window_get_width ())) + { return window->win_chat_width - 1; + } else + { return window->win_chat_width; + } } /* |