mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
core: fix alignment of lines in merged buffers (closes #43)
The bug happened when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to "none".
This commit is contained in:
@@ -15,6 +15,9 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
== Version 0.4.4 (under dev)
|
||||
|
||||
* core: fix alignment of lines in merged buffers when options
|
||||
weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to
|
||||
"none" (closes #43)
|
||||
* core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"
|
||||
* core: add text search in buffers with free content (task #13051)
|
||||
* core: add buffer property "clear"
|
||||
|
||||
+1
-1
@@ -276,7 +276,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
|
||||
{
|
||||
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
&& (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE))
|
||||
length_buffer = gui_chat_strlen_screen (gui_buffer_get_short_name (buffer)) + 1;
|
||||
length_buffer = gui_chat_strlen_screen (gui_buffer_get_short_name (line->data->buffer)) + 1;
|
||||
else
|
||||
{
|
||||
if (CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
|
||||
|
||||
Reference in New Issue
Block a user