commit 28ad24e0ced32cd8733c7e610e63218491ba7068
parent f9c30db62b61672410f7729d88c85a99679a6f71
Author: Michael Stapelberg <michael@stapelberg.de>
Date: Fri, 11 May 2018 13:40:18 +0200
clang-format-3.5
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i3lock.c b/i3lock.c
@@ -656,7 +656,7 @@ static bool verify_png_image(const char *image_path) {
// Check PNG header according to the specification, available at:
// https://www.w3.org/TR/2003/REC-PNG-20031110/#5PNG-file-signature
- static unsigned char PNG_REFERENCE_HEADER[8] = { 137, 80, 78, 71, 13, 10, 26, 10 };
+ static unsigned char PNG_REFERENCE_HEADER[8] = {137, 80, 78, 71, 13, 10, 26, 10};
if (memcmp(PNG_REFERENCE_HEADER, png_header, sizeof(png_header)) != 0) {
fprintf(stderr, "File \"%s\" does not start with a PNG header. i3lock currently only supports loading PNG files.\n", image_path);
return false;