# HG changeset patch # User ib # Date 1301926450 0 # Node ID e1403616342f4572b6e5815861275215f509281d # Parent 8835e684a41dd4f904f62595ffae9e7028e058c4 Increment the counter before the comparison. This expresses the 8 bit nature of the image data more intensely. diff -r 8835e684a41d -r e1403616342f gui/util/bitmap.c --- a/gui/util/bitmap.c Mon Apr 04 14:06:08 2011 +0000 +++ b/gui/util/bitmap.c Mon Apr 04 14:14:10 2011 +0000 @@ -246,7 +246,7 @@ shaped = 1; } - if (b++ == 7) { + if (++b == 8) { out->Image[c++] = tmp; tmp = b = 0; }