diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-02-16 18:24:19 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-02-16 18:24:19 +0100 |
commit | 351b7328520c16730ceb46e5acae16038c42185e (patch) | |
tree | fae21fd5c94f3c3ed0202a95c9ada705482e647b /backend/ricoh.c | |
parent | ad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff) |
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/ricoh.c')
-rw-r--r-- | backend/ricoh.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/backend/ricoh.c b/backend/ricoh.c index fbe5c58..eb692c9 100644 --- a/backend/ricoh.c +++ b/backend/ricoh.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. @@ -40,7 +38,6 @@ */ /* - $Id$ This file implements a SANE backend for Ricoh flatbed scanners. */ @@ -167,7 +164,7 @@ attach (const char *devnam, Ricoh_Device ** devp) status = object_position (fd); 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); } @@ -243,7 +240,7 @@ attach (const char *devnam, Ricoh_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 */ @@ -467,7 +464,7 @@ do_cancel (Ricoh_Scanner * s) status = object_position (s->fd); if (status != SANE_STATUS_GOOD) { - DBG (1, "cancel: OBJECT POSTITION failed\n"); + DBG (1, "cancel: OBJECT POSITION failed\n"); } s->scanning = SANE_FALSE; @@ -849,7 +846,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 == RICOH_GRAYSCALE || wbuf.image_comp == RICOH_DITHERED_MONOCHROME) { |