mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
core: fix quoted line in cursor mode (closes #1602)
Regression was introduced in version 2.7 by commit
93d2dbf3e1.
This commit is contained in:
@@ -532,7 +532,7 @@ 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)
|
||||
if (!simulate && (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);
|
||||
|
||||
Reference in New Issue
Block a user