aboutsummaryrefslogtreecommitdiffstats
path: root/progs/redbook/wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/wrap.c')
-rw-r--r--progs/redbook/wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/wrap.c b/progs/redbook/wrap.c
index c67e04a7f37..f9a1f162ab6 100644
--- a/progs/redbook/wrap.c
+++ b/progs/redbook/wrap.c
@@ -65,7 +65,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;