From 0fa06d60baf69663b7ed174329836ad318683f71 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 11 Dec 2015 11:29:23 +0100 Subject: whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/kern-linux.c | 2 +- src/scrotty.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/kern-linux.c b/src/kern-linux.c index 28b4d4e..a3d4ea2 100644 --- a/src/kern-linux.c +++ b/src/kern-linux.c @@ -140,7 +140,7 @@ convert_fb (FILE *restrict file, const char *restrict buf, g = (*pixel >> 8) & 255; b = (*pixel >> 0) & 255; - if (SAVE_PIXEL(file, r, g, b) < 0) + if (SAVE_PIXEL (file, r, g, b) < 0) goto fail; } diff --git a/src/scrotty.c b/src/scrotty.c index 9837a26..9105368 100644 --- a/src/scrotty.c +++ b/src/scrotty.c @@ -207,8 +207,8 @@ save (const char *fbpath, const char *imgpath, long width, long height, int raw) close (pipe_rw[1]); /* Open file descriptor for the output image. */ - fd = open(imgpath, O_WRONLY | O_CREAT | O_TRUNC, - S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); + fd = open (imgpath, O_WRONLY | O_CREAT | O_TRUNC, + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if (fd == -1) goto child_fail; -- cgit v1.2.3-70-g09d2