Fix passing wrong length of message (#17329)

This commit is contained in:
Eric Warmenhoven 2025-01-01 19:49:25 -05:00 committed by GitHub
parent 401e169865
commit 01951a5a5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;