mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
core: fix crash when looking at context in chat area for focus
This commit is contained in:
@@ -221,7 +221,7 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
|
||||
{
|
||||
last_space = NULL;
|
||||
word_start = (*line)->data->message;
|
||||
while (word_start < ptr_data)
|
||||
while (word_start && (word_start < ptr_data))
|
||||
{
|
||||
word_start = (char *)gui_chat_string_next_char (NULL,
|
||||
(unsigned char *)word_start,
|
||||
|
||||
Reference in New Issue
Block a user