diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 15:07:59 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 15:07:59 +0100 |
commit | b04fead1aba77f4ddbeff9889558c1f923d12194 (patch) | |
tree | 24cc87de06474d8d43f063e706a70c3ccf359860 /src/gui/curses | |
parent | 381140f964c394986c8ed81174bbee954b92323d (diff) | |
download | weechat-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.c | 3 |
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) |