Fix blind-spiral-gradient - blind - suckless command-line video editing utility
HTML git clone git://git.suckless.org/blind
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 187994906ae77986072050ea2024fb531747fea5
DIR parent d1a5dfdf162d1e1200e7ee1060435d76a028d4c4
HTML 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:
M src/blind-spiral-gradient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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;