Fix passing wrong length of message (#17329)
This commit is contained in:
parent
401e169865
commit
01951a5a5a
|
@ -243,6 +243,7 @@ void gfx_widgets_msg_queue_push(
|
|||
|
||||
if (task)
|
||||
{
|
||||
len = strlen(task->title);
|
||||
title = msg_widget->msg = strdup(task->title);
|
||||
msg_widget->msg_new = strdup(title);
|
||||
msg_widget->msg_len = len;
|
||||
|
|
Loading…
Reference in New Issue