diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
commit | 9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch) | |
tree | c9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /backend/ibm.c | |
parent | 446e9454b8cbe5b689149415d11d36e88442ca88 (diff) | |
parent | 154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff) |
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
Diffstat (limited to 'backend/ibm.c')
-rw-r--r-- | backend/ibm.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/backend/ibm.c b/backend/ibm.c index 1f26226..91a09ee 100644 --- a/backend/ibm.c +++ b/backend/ibm.c @@ -13,9 +13,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + along with this program. If not, see <https://www.gnu.org/licenses/>. As a special exception, the authors of SANE give permission for additional uses of the libraries contained in this release of SANE. @@ -192,7 +190,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 +267,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 +519,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 +994,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) { |