mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Fix bug that happens when a game entry has a ' character in its
title/description
This commit is contained in:
parent
2e7c29f853
commit
dfaa6c3d4a
@ -750,9 +750,9 @@ static int deferred_push_rdb_entry_detail(void *data, void *userdata,
|
||||
return -1;
|
||||
}
|
||||
|
||||
strlcpy(query, "{'description':'", sizeof(query));
|
||||
strlcpy(query, "{'description':\"", sizeof(query));
|
||||
strlcat(query, str_list->elems[1].data, sizeof(query));
|
||||
strlcat(query, "'}", sizeof(query));
|
||||
strlcat(query, "\"}", sizeof(query));
|
||||
|
||||
menu_list_clear(list);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user