From 364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Tue, 5 Jan 2016 23:42:40 +0100 Subject: Fix whitespace issues. --- swaygrab/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaygrab') 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); -- cgit v1.2.3-54-g00ecf