From 58912f68c2489bcee787599837447e0d64dfd61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 24 May 2017 21:03:56 +0200 Subject: New upstream version 1.0.27 --- backend/dc210.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'backend/dc210.c') diff --git a/backend/dc210.c b/backend/dc210.c index acfe99a..32da710 100644 --- a/backend/dc210.c +++ b/backend/dc210.c @@ -1232,7 +1232,6 @@ sane_start (SANE_Handle handle) my_src_ptr src; struct jpeg_error_mgr jerr; - int row_stride; pic_pck[3] = (unsigned char) Camera.current_picture_number - 1; @@ -1263,8 +1262,6 @@ sane_start (SANE_Handle handle) (void) jpeg_read_header (&cinfo, TRUE); dest_mgr = sanei_jpeg_jinit_write_ppm (&cinfo); (void) jpeg_start_decompress (&cinfo); - row_stride = cinfo.output_width * cinfo.output_components; - } Camera.scanning = SANE_TRUE; /* don't overlap scan requests */ -- cgit v1.2.3 From 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 31 Jul 2019 16:59:49 +0200 Subject: New upstream version 1.0.28 --- backend/dc210.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'backend/dc210.c') diff --git a/backend/dc210.c b/backend/dc210.c index 32da710..85ffb20 100644 --- a/backend/dc210.c +++ b/backend/dc210.c @@ -1,7 +1,7 @@ /*************************************************************************** * SANE - Scanner Access Now Easy. - dc210.c + dc210.c 11/11/98 @@ -43,17 +43,17 @@ If you write modifications of your own for SANE, it is your choice whether to permit this exception to apply to your modifications. - If you do not wish that, delete this exception notice. + If you do not wish that, delete this exception notice. *************************************************************************** This file implements a SANE backend for the Kodak DC-210 - digital camera. THIS IS EXTREMELY ALPHA CODE! USE AT YOUR OWN RISK!! + digital camera. THIS IS EXTREMELY ALPHA CODE! USE AT YOUR OWN RISK!! (feedback to: sane-dc210@interlinx.bc.ca This backend is based somewhat on the dc25 backend included in this - package by Peter Fales + package by Peter Fales ***************************************************************************/ @@ -395,7 +395,7 @@ init_dc210 (DC210 * camera) } /* send a break to get it back to a known state */ - /* Used to supply a non-zero argument to tcsendbreak(), TCSBRK, + /* Used to supply a non-zero argument to tcsendbreak(), TCSBRK, * and TCSBRKP, but that is system dependent. e.g. on irix a non-zero * value does a drain instead of a break. A zero value is universally * used to send a break. @@ -423,8 +423,8 @@ init_dc210 (DC210 * camera) if (send_pck (camera->fd, init_pck) == -1) { /* - * The camera always powers up at 9600, so we try - * that first. However, it may be already set to + * The camera always powers up at 9600, so we try + * that first. However, it may be already set to * a different speed. Try the entries in the table: */ @@ -455,7 +455,7 @@ init_dc210 (DC210 * camera) } } /* - Set speed to requested speed. + Set speed to requested speed. */ cfsetospeed (&tty_new, Camera.baud); cfsetispeed (&tty_new, Camera.baud); @@ -954,7 +954,7 @@ sane_control_option (SANE_Handle handle, SANE_Int option, if (dc210_opt_thumbnails) { - /* + /* * DC210 thumbnail are 96x72x8x3 */ parms.bytes_per_line = 96 * 3; @@ -1190,7 +1190,7 @@ sane_start (SANE_Handle handle) { /* - * Don't allow picture unless there is room in the + * Don't allow picture unless there is room in the * camera. */ if (Camera.pic_left == 0) -- cgit v1.2.3