aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-matrix-rotate.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-14 19:59:16 +0200
committerMattias Andrée <maandree@kth.se>2017-07-14 19:59:16 +0200
commit62ffee45ea763a321606b8ec8fe1bcf0a3791d27 (patch)
treeb4c7188c93fa65dbfaaeddc2d7fd990588f8a812 /src/blind-matrix-rotate.c
parentImprove palette in blind-hexagon-tessellation and blind-rectangle-tessellation (diff)
downloadblind-62ffee45ea763a321606b8ec8fe1bcf0a3791d27.tar.gz
blind-62ffee45ea763a321606b8ec8fe1bcf0a3791d27.tar.bz2
blind-62ffee45ea763a321606b8ec8fe1bcf0a3791d27.tar.xz
blind-matrix-{rotate,transpose}: fix input check
Signed-off-by: Mattias Andrée <maandree@kth.se>
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;