1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: remove dead assignment in function gui_bar_window_draw

This commit is contained in:
Sebastien Helleu
2014-02-22 15:07:59 +01:00
parent 381140f964
commit b04fead1ab
-3
View File
@@ -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)