1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-15 04:21:31 +00:00

Fix passing wrong length of message ()

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

@ -243,6 +243,7 @@ void gfx_widgets_msg_queue_push(
if (task) if (task)
{ {
len = strlen(task->title);
title = msg_widget->msg = strdup(task->title); title = msg_widget->msg = strdup(task->title);
msg_widget->msg_new = strdup(title); msg_widget->msg_new = strdup(title);
msg_widget->msg_len = len; msg_widget->msg_len = len;