Skip to content

Commit 01951a5

Browse files
authored
Fix passing wrong length of message (#17329)
1 parent 401e169 commit 01951a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gfx/gfx_widgets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ void gfx_widgets_msg_queue_push(
243243

244244
if (task)
245245
{
246+
len = strlen(task->title);
246247
title = msg_widget->msg = strdup(task->title);
247248
msg_widget->msg_new = strdup(title);
248249
msg_widget->msg_len = len;

0 commit comments

Comments
 (0)