Skip to content

Commit

Permalink
Fix passing wrong length of message (#17329)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Jan 2, 2025
1 parent 401e169 commit 01951a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gfx/gfx_widgets.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01951a5

Please sign in to comment.