mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
core: fix bad computation of prefix length when simulating display (this caused one or more empty lines at bottom of chat area)
(bug was introduced in previous commit: 10df976e53)
This commit is contained in:
@@ -835,7 +835,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
|
||||
1, num_lines, count, lines_displayed,
|
||||
simulate,
|
||||
CONFIG_BOOLEAN(config_look_color_inactive_prefix));
|
||||
if (chars_displayed < length_allowed)
|
||||
if (!simulate && (chars_displayed < length_allowed))
|
||||
extra_spaces = length_allowed - chars_displayed;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user