mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
Simplify rarch_main_data_msg_queue_push
This commit is contained in:
parent
27367a733b
commit
f094a76c22
@ -669,9 +669,7 @@ void rarch_main_data_msg_queue_push(unsigned type,
|
||||
char new_msg[PATH_MAX_LENGTH];
|
||||
msg_queue_t *queue = NULL;
|
||||
|
||||
strlcpy(new_msg, msg, sizeof(new_msg));
|
||||
strlcat(new_msg, "|", sizeof(new_msg));
|
||||
strlcat(new_msg, msg2, sizeof(new_msg));
|
||||
snprintf(new_msg, sizeof(new_msg), "%s|%s", msg, msg2);
|
||||
|
||||
switch(type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user