kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch '111-sane-backends-1-0-28-backend-gt68xx_high-c-100-bad-expression-testpicture' into 'master'
Resolve "sane-backends-1.0.28/backend/gt68xx_high.c💯 bad expression ?" Closes #111 See merge request sane-project/backends!369reorg-descriptions
commit
a309a2a58d
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue