summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 15:07:59 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 15:07:59 +0100
commitb04fead1aba77f4ddbeff9889558c1f923d12194 (patch)
tree24cc87de06474d8d43f063e706a70c3ccf359860 /src/gui/curses
parent381140f964c394986c8ed81174bbee954b92323d (diff)
downloadweechat-b04fead1aba77f4ddbeff9889558c1f923d12194.zip
core: remove dead assignment in function gui_bar_window_draw
Diffstat (limited to 'src/gui/curses')
-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)