changeset 33120:e1403616342f

Increment the counter before the comparison. This expresses the 8 bit nature of the image data more intensely.
author ib
date Mon, 04 Apr 2011 14:14:10 +0000
parents 8835e684a41d
children 7623be6c1f0e
files gui/util/bitmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
             }