mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
Simplifications
This commit is contained in:
parent
7cf4763bfb
commit
e81ee5f0cb
@ -679,9 +679,10 @@ void fill_str_dated_filename(char *out_filename,
|
||||
format[0] = '\0';
|
||||
|
||||
strftime(format, sizeof(format), "-%y%m%d-%H%M%S.", localtime(&cur_time));
|
||||
strlcpy(out_filename, in_str, size);
|
||||
strlcat(out_filename, format, size);
|
||||
strlcat(out_filename, ext, size);
|
||||
|
||||
fill_pathname_join_concat_noext(out_filename,
|
||||
in_str, format, ext,
|
||||
size);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user