diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-07-14 19:59:16 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-07-14 19:59:16 +0200 |
| commit | 62ffee45ea763a321606b8ec8fe1bcf0a3791d27 (patch) | |
| tree | b4c7188c93fa65dbfaaeddc2d7fd990588f8a812 /src/blind-matrix-transpose.c | |
| parent | Improve palette in blind-hexagon-tessellation and blind-rectangle-tessellation (diff) | |
| download | blind-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 '')
| -rw-r--r-- | src/blind-matrix-transpose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-matrix-transpose.c b/src/blind-matrix-transpose.c index 2103205..5c417db 100644 --- a/src/blind-matrix-transpose.c +++ b/src/blind-matrix-transpose.c @@ -56,7 +56,7 @@ main(int argc, char *argv[]) eopen_stream(&stream, NULL); - if (stream.width != 1 && stream.height != 12) + if (stream.width != 1 || stream.height != 1) eprintf("<stdin>: each frame must contain exactly 1 pixels\n"); stream.width = 3; |
