mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 03:03:12 +02:00
core: allow empty short name on buffers (name is used if not set)
This commit is contained in:
@@ -190,7 +190,7 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
|
||||
else if ((win_x >= window->coords[win_y].buffer_x1)
|
||||
&& (win_x <= window->coords[win_y].buffer_x2))
|
||||
{
|
||||
*word = gui_color_decode ((*line)->data->buffer->short_name, NULL);
|
||||
*word = gui_color_decode (gui_buffer_get_short_name ((*line)->data->buffer), NULL);
|
||||
}
|
||||
else if ((win_x >= window->coords[win_y].prefix_x1)
|
||||
&& (win_x <= window->coords[win_y].prefix_x2))
|
||||
|
||||
Reference in New Issue
Block a user