From 351b7328520c16730ceb46e5acae16038c42185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Feb 2021 18:24:19 +0100 Subject: New upstream version 1.0.32 --- backend/teco2.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'backend/teco2.c') diff --git a/backend/teco2.c b/backend/teco2.c index a104189..01fb667 100644 --- a/backend/teco2.c +++ b/backend/teco2.c @@ -16,9 +16,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 . As a special exception, the authors of SANE give permission for additional uses of the libraries contained in this release of SANE. @@ -43,7 +41,6 @@ */ /* - $Id$ TECO scanner VM3575, VM656A, VM6575, VM6586, VM356A, VM3564 update 2003/02/14, Patch for VM356A Gerard Klaver update 2003/03/19, traces, tests VM356A Gerard Klaver, Michael Hoeller @@ -1368,7 +1365,7 @@ teco_do_calibration (Teco_Scanner * dev) { tmp_min_buf[3 * j + 1] = dev->buffer[3 * j + 1]; } - /* get hightest value */ + /* get highest value */ if (tmp_max_buf[3 * j + 1] < dev->buffer[3 * j + 1]) { tmp_max_buf[3 * j + 1] = dev->buffer[3 * j + 1]; @@ -2141,7 +2138,7 @@ teco_wait_scanner (Teco_Scanner * dev) * sane is waiting for a group of 3 bytes per color. To make things * funnier, the rasters are shifted. As a result, color planes appear to be shifted be a few pixels. * - * The order of the color is dependant on each scanners. Also the same + * The order of the color is dependent on each scanners. Also the same * scanner can change the order depending on the resolution. * * For instance, the VM6586 at 300dpi has a color shift of 2 lines. The rasters sent are: @@ -2149,7 +2146,7 @@ teco_wait_scanner (Teco_Scanner * dev) * then red in added - BRBR * then green - BRG ... (most of the picture) * then blue is removed - RGRG - * and finaly only green stays - GG + * and finally only green stays - GG * * Overall there is the same number of RGB rasters. * The VM3575 is a variant (when factor_x is 0). It does not keep the same order, @@ -3192,7 +3189,7 @@ sane_start (SANE_Handle handle) return SANE_STATUS_NO_MEM; } - /* Rasters are meaningfull only in color mode. */ + /* Rasters are meaningful only in color mode. */ dev->raster_size = dev->params.pixels_per_line; dev->raster_real = dev->params.lines * 3; dev->raster_num = 0; -- cgit v1.2.3