aboutsummaryrefslogtreecommitdiff
path: root/swaygrab
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-01-05 23:42:40 +0100
committerFurkan Sahin <furkan-dev@proton.me>2016-01-05 23:42:40 +0100
commit244d0dfa95da6b0dcba0b52c1013c1c345112ea3 (patch)
treead4982838b282f2424c29490b00014ed62c0bdfe /swaygrab
parent79762990f8dc20c335e1f19db476f5c6507bf413 (diff)
Fix whitespace issues.
Diffstat (limited to 'swaygrab')
-rw-r--r--swaygrab/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c
index d64d2ff2..403f7b38 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -72,7 +72,7 @@ void grab_and_apply_movie_magic(const char *file, const char *output,
"-video_size %dx%d -pixel_format argb "
"-i pipe:0 -r %d -vf vflip %s";
char *cmd = malloc(strlen(fmt) - 8 /*args*/
- + numlen(width) + numlen(height) + numlen(framerate) * 2
+ + numlen(width) + numlen(height) + numlen(framerate) * 2
+ strlen(file) + 1);
sprintf(cmd, fmt, framerate, width, height, framerate, file);