spelling fixes for ibm backend

merge-requests/540/head
Peter Marschall 2020-08-29 08:40:56 +02:00
rodzic f6059bd3cb
commit 66443f37e6
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -192,7 +192,7 @@ attach (const char *devnam, Ibm_Device ** devp)
status = object_position (fd, OBJECT_POSITION_UNLOAD);
if (status != SANE_STATUS_GOOD)
{
DBG (1, "attach: OBJECT POSTITION failed\n");
DBG (1, "attach: OBJECT POSITION failed\n");
sanei_scsi_close (fd);
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.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 */
/* I should make this into an option */
@ -521,7 +521,7 @@ do_cancel (Ibm_Scanner * s)
status = object_position (s->fd, OBJECT_POSITION_UNLOAD);
if (status != SANE_STATUS_GOOD)
{
DBG (1, "cancel: OBJECT POSTITION failed\n");
DBG (1, "cancel: OBJECT POSITION failed\n");
}
s->scanning = SANE_FALSE;
@ -996,7 +996,7 @@ sane_start (SANE_Handle handle)
_lto4b(s->length, wbuf.length);
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 */
if (wbuf.image_comp == IBM_GRAYSCALE || wbuf.image_comp == IBM_DITHERED_MONOCHROME)
{