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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user