mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 06:40:18 +00:00
Style nit.
This commit is contained in:
parent
8301cf8a2f
commit
763a5bf2c0
2
file.c
2
file.c
@ -986,7 +986,7 @@ void fill_pathname(char *out_path, const char *in_path, const char *replace, siz
|
||||
|
||||
ssnes_assert(strlcpy(tmp_path, in_path, sizeof(tmp_path)) < sizeof(tmp_path));
|
||||
char *tok = strrchr(tmp_path, '.');
|
||||
if (tok != NULL)
|
||||
if (tok)
|
||||
*tok = '\0';
|
||||
|
||||
ssnes_assert(strlcpy(out_path, tmp_path, size) < size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user