mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
Merge 9c0b5f0446 into 78740b9785
This commit is contained in:
commit
b734ad427b
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ char *default_filename(const char *extension) {
|
|||
|
||||
struct tm *lt = localtime(&t);
|
||||
strftime(filename, len, "%Y-%m-%d-%H%M%S_swaygrab.", lt);
|
||||
strncat(filename, extension, ext_len);
|
||||
strcat(filename, extension);
|
||||
|
||||
return filename;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue