mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
Replace strcpy_literal usage of trivial string setting
This commit is contained in:
parent
e2b084b715
commit
9910dfbee2
@ -37,7 +37,9 @@ int database_info_build_query_enum(char *s, size_t len,
|
||||
bool add_quotes = true;
|
||||
bool add_glob = false;
|
||||
|
||||
strcpy_literal(s, "{'");
|
||||
s[0] = '{';
|
||||
s[1] = '\'';
|
||||
s[2] = '\0';
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
@ -9001,8 +9001,8 @@ static bool path_init_subsystem(struct rarch_state *p_rarch)
|
||||
&info->roms[i].memory[j];
|
||||
|
||||
path[0] = ext[0] = '\0';
|
||||
|
||||
strcpy_literal(ext, ".");
|
||||
ext[0] = '.';
|
||||
ext[1] = '\0';
|
||||
strlcat(ext, mem->extension, sizeof(ext));
|
||||
strlcpy(savename,
|
||||
p_rarch->subsystem_fullpaths->elems[i].data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user