summaryrefslogtreecommitdiff
path: root/progs/redbook/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/image.c')
-rw-r--r--progs/redbook/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/image.c b/progs/redbook/image.c
index 8e62f5afd3..dc1a7246eb 100644
--- a/progs/redbook/image.c
+++ b/progs/redbook/image.c
@@ -64,7 +64,7 @@ void makeCheckImage(void)
for (i = 0; i < checkImageHeight; i++) {
for (j = 0; j < checkImageWidth; j++) {
- c = ((((i&0x8)==0)^((j&0x8))==0))*255;
+ c = (((i&0x8)==0)^((j&0x8)==0))*255;
checkImage[i][j][0] = (GLubyte) c;
checkImage[i][j][1] = (GLubyte) c;
checkImage[i][j][2] = (GLubyte) c;