summaryrefslogtreecommitdiff
path: root/backend/test-picture.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/test-picture.c')
-rw-r--r--backend/test-picture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/test-picture.c b/backend/test-picture.c
index 46407dc..66374c7 100644
--- a/backend/test-picture.c
+++ b/backend/test-picture.c
@@ -155,8 +155,8 @@ init_picture_buffer (Test_Device * test_device, SANE_Byte ** buffer,
if (xfull < ppl)
{
if ((((SANE_Word) (xfull / p_size)) % 2)
- ^ !(line_count >
- (SANE_Word) (p_size + 0.5)))
+ ^ (!(line_count >
+ (SANE_Word) (p_size + 0.5))))
color = 0x0;
else
color = 0x1;