aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-matrix-rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blind-matrix-rotate.c')
-rw-r--r--src/blind-matrix-rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-matrix-rotate.c b/src/blind-matrix-rotate.c
index 3e2f5e3..16a0c9f 100644
--- a/src/blind-matrix-rotate.c
+++ b/src/blind-matrix-rotate.c
@@ -59,7 +59,7 @@ main(int argc, char *argv[])
eopen_stream(&stream, NULL);
- if (stream.width != 1 && stream.height != 1)
+ if (stream.width != 1 || stream.height != 1)
eprintf("<stdin>: each frame must contain exactly 1 pixels\n");
stream.width = 3;