mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +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];
|
char new_msg[PATH_MAX_LENGTH];
|
||||||
msg_queue_t *queue = NULL;
|
msg_queue_t *queue = NULL;
|
||||||
|
|
||||||
strlcpy(new_msg, msg, sizeof(new_msg));
|
snprintf(new_msg, sizeof(new_msg), "%s|%s", msg, msg2);
|
||||||
strlcat(new_msg, "|", sizeof(new_msg));
|
|
||||||
strlcat(new_msg, msg2, sizeof(new_msg));
|
|
||||||
|
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user