summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-bar-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-bar-window.c')
-rw-r--r--src/gui/curses/gui-curses-bar-window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index b75dab8cf..e4fa0583d 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -569,10 +569,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
}
if ((length_screen_before_cursor < 0) || (length_screen_after_cursor < 0))
- {
length_screen_before_cursor = gui_chat_strlen_screen (items[line]);
- length_screen_after_cursor = 0;
- }
diff = length_screen_before_cursor - chars_available;
if (diff > 0)