kopia lustrzana https://gitlab.com/sane-project/backends
spelling fixes for ibm backend
rodzic
f6059bd3cb
commit
66443f37e6
|
@ -192,7 +192,7 @@ attach (const char *devnam, Ibm_Device ** devp)
|
||||||
status = object_position (fd, OBJECT_POSITION_UNLOAD);
|
status = object_position (fd, OBJECT_POSITION_UNLOAD);
|
||||||
if (status != SANE_STATUS_GOOD)
|
if (status != SANE_STATUS_GOOD)
|
||||||
{
|
{
|
||||||
DBG (1, "attach: OBJECT POSTITION failed\n");
|
DBG (1, "attach: OBJECT POSITION failed\n");
|
||||||
sanei_scsi_close (fd);
|
sanei_scsi_close (fd);
|
||||||
return (SANE_STATUS_INVAL);
|
return (SANE_STATUS_INVAL);
|
||||||
}
|
}
|
||||||
|
@ -269,7 +269,7 @@ attach (const char *devnam, Ibm_Device ** devp)
|
||||||
dev->info.yres_default = _2btol(wbuf.y_res);
|
dev->info.yres_default = _2btol(wbuf.y_res);
|
||||||
dev->info.image_mode_default = wbuf.image_comp;
|
dev->info.image_mode_default = wbuf.image_comp;
|
||||||
|
|
||||||
/* if you throw the MRIF bit the brighness control reverses too */
|
/* if you throw the MRIF bit the brightness control reverses too */
|
||||||
/* so I reverse the reversal in software for symmetry's sake */
|
/* so I reverse the reversal in software for symmetry's sake */
|
||||||
/* I should make this into an option */
|
/* I should make this into an option */
|
||||||
|
|
||||||
|
@ -521,7 +521,7 @@ do_cancel (Ibm_Scanner * s)
|
||||||
status = object_position (s->fd, OBJECT_POSITION_UNLOAD);
|
status = object_position (s->fd, OBJECT_POSITION_UNLOAD);
|
||||||
if (status != SANE_STATUS_GOOD)
|
if (status != SANE_STATUS_GOOD)
|
||||||
{
|
{
|
||||||
DBG (1, "cancel: OBJECT POSTITION failed\n");
|
DBG (1, "cancel: OBJECT POSITION failed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
s->scanning = SANE_FALSE;
|
s->scanning = SANE_FALSE;
|
||||||
|
@ -996,7 +996,7 @@ sane_start (SANE_Handle handle)
|
||||||
_lto4b(s->length, wbuf.length);
|
_lto4b(s->length, wbuf.length);
|
||||||
|
|
||||||
wbuf.image_comp = s->image_composition;
|
wbuf.image_comp = s->image_composition;
|
||||||
/* if you throw the MRIF bit the brighness control reverses too */
|
/* if you throw the MRIF bit the brightness control reverses too */
|
||||||
/* so I reverse the reversal in software for symmetry's sake */
|
/* so I reverse the reversal in software for symmetry's sake */
|
||||||
if (wbuf.image_comp == IBM_GRAYSCALE || wbuf.image_comp == IBM_DITHERED_MONOCHROME)
|
if (wbuf.image_comp == IBM_GRAYSCALE || wbuf.image_comp == IBM_DITHERED_MONOCHROME)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue