commit 187994906ae77986072050ea2024fb531747fea5
parent d1a5dfdf162d1e1200e7ee1060435d76a028d4c4
Author: Mattias Andrée <maandree@kth.se>
Date: Fri, 7 Jul 2017 21:48:47 +0200
Fix blind-spiral-gradient
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/blind-spiral-gradient.c b/src/blind-spiral-gradient.c
@@ -146,7 +146,7 @@ main(int argc, char *argv[])
stream.width * stream.height > 5)
eprintf("<stdin>: each frame must contain exactly 2, 3, 4, or 5 pixels\n");
- with_params = (stream.width * stream.height) & 2;
+ with_params = (stream.width * stream.height) & 1;
with_vector = stream.width * stream.height > 3;
stream.width = width;