mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Style nit.
This commit is contained in:
parent
0724ab2ca1
commit
fe7f05e717
1
file.c
1
file.c
@ -990,6 +990,7 @@ void fill_pathname(char *out_path, const char *in_path, const char *replace, siz
|
|||||||
char *tok = strrchr(tmp_path, '.');
|
char *tok = strrchr(tmp_path, '.');
|
||||||
if (tok != NULL)
|
if (tok != NULL)
|
||||||
*tok = '\0';
|
*tok = '\0';
|
||||||
|
|
||||||
ssnes_assert(strlcpy(out_path, tmp_path, size) < size);
|
ssnes_assert(strlcpy(out_path, tmp_path, size) < size);
|
||||||
ssnes_assert(strlcat(out_path, replace, size) < size);
|
ssnes_assert(strlcat(out_path, replace, size) < size);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user