From e10166a31625da34015428660959a52aecd97d3a Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Thu, 22 May 2014 19:17:28 +0200 Subject: [PATCH] program.c: sign error (non-fatal but annoying) --- src/animations/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animations/program.c b/src/animations/program.c index 56496d8..c964731 100644 --- a/src/animations/program.c +++ b/src/animations/program.c @@ -172,7 +172,7 @@ void random_bright(unsigned int cycles) { for (unsigned char y = NUM_ROWS; y--;) { for (unsigned char x = LINEBYTES; x--;) { if (p < (NUMPLANE - 1)) { - pixmap[p][y][x] |= pixmap[p - 1][y][x]; + pixmap[p][y][x] |= pixmap[p + 1][y][x]; } pixmap[p][y][x] = random8(); }