aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-07 21:48:47 +0200
committerMattias Andrée <maandree@kth.se>2017-07-07 21:48:47 +0200
commit187994906ae77986072050ea2024fb531747fea5 (patch)
tree12a79dd0841239ce2f13c4bbfe593ba7b40f82a8 /src
parentAdd blind-chroma-key (diff)
downloadblind-187994906ae77986072050ea2024fb531747fea5.tar.gz
blind-187994906ae77986072050ea2024fb531747fea5.tar.bz2
blind-187994906ae77986072050ea2024fb531747fea5.tar.xz
Fix blind-spiral-gradient
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/blind-spiral-gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-spiral-gradient.c b/src/blind-spiral-gradient.c
index d405412..a248a02 100644
--- 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;