mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
gui: add missing line pointer to long words split across lines (closes #617)
Displaying a word which was forced to be split across lines added the new coords without pointer to the original line. This made them unquotable in cursor mode.
This commit is contained in:
@@ -525,7 +525,10 @@ gui_chat_display_word (struct t_gui_window *window,
|
||||
gui_window_restore_style (GUI_WINDOW_OBJECTS(window)->win_chat);
|
||||
}
|
||||
if (window->win_chat_cursor_y < window->coords_size)
|
||||
{
|
||||
window->coords[window->win_chat_cursor_y].line = line;
|
||||
window->coords[window->win_chat_cursor_y].data = (char *)word + (ptr_data - data);
|
||||
}
|
||||
}
|
||||
|
||||
chars_to_display = gui_chat_strlen_screen (ptr_data);
|
||||
|
||||
Reference in New Issue
Block a user