From a1239c5601b67841c4cf6021486578182a4aa6e9 Mon Sep 17 00:00:00 2001 From: Peter Marschall Date: Fri, 28 Aug 2020 18:32:10 +0200 Subject: [PATCH] spelling fixes for mustek backend --- backend/mustek.c | 6 +++--- backend/mustek.conf.in | 2 +- backend/mustek_scsi_pp.h | 4 ++-- doc/mustek/mustek.CHANGES | 20 ++++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/backend/mustek.c b/backend/mustek.c index 6a9aa8694..6503bb27f 100644 --- a/backend/mustek.c +++ b/backend/mustek.c @@ -114,7 +114,7 @@ static Mustek_Device **new_dev; /* Length of new_dev array */ static SANE_Int new_dev_len; -/* Number of entries alloced for new_dev */ +/* Number of entries allocated for new_dev */ static SANE_Int new_dev_alloced; static SANE_Int lamp_off_time = 60; @@ -4910,7 +4910,7 @@ reader_process (void *data) s->total_lines = 0; bpl = s->hw->bpl; - /* buffer size is scanner dependant */ + /* buffer size is scanner dependent */ lines_per_buffer = s->hw->buffer_size / bpl / 2; if (strip_height > 0.0) @@ -6305,7 +6305,7 @@ sane_start (SANE_Handle handle) else if (strcmp (mode, SANE_VALUE_SCAN_MODE_COLOR) == 0) s->mode = MUSTEK_MODE_COLOR; - /* scanner dependant specials */ + /* scanner dependent specials */ s->one_pass_color_scan = SANE_FALSE; if ((s->mode & MUSTEK_MODE_COLOR) && !(s->hw->flags & MUSTEK_FLAG_THREE_PASS)) diff --git a/backend/mustek.conf.in b/backend/mustek.conf.in index 3868d0e61..d247a0143 100644 --- a/backend/mustek.conf.in +++ b/backend/mustek.conf.in @@ -33,7 +33,7 @@ scsi SCANNER #0x2eb # For the 600 II N try one of 0x26b, 0x2ab, # 0x2eb, 0x22b, 0x32b, 0x36b, 0x3ab, 0x3eb. -# option linedistance-fix # only neccessary with firmware 2.x +# option linedistance-fix # only necessary with firmware 2.x #-------------------------- 600 II EP --------------------------------------- #parport0 diff --git a/backend/mustek_scsi_pp.h b/backend/mustek_scsi_pp.h index 363f2c0f9..04bdd808c 100644 --- a/backend/mustek_scsi_pp.h +++ b/backend/mustek_scsi_pp.h @@ -96,7 +96,7 @@ static SANE_Status mustek_scsi_pp_test_ready (int fd); * * @return * - SANE_STATUS_GOOD - on success - * - SANE_STATUS_IO_ERROR - if an error occured during the dialog with the + * - SANE_STATUS_IO_ERROR - if an error occurred during the dialog with the * device */ static SANE_Status mustek_scsi_pp_cmd (int fd, const void *src, size_t src_size, @@ -113,7 +113,7 @@ static SANE_Status mustek_scsi_pp_cmd (int fd, const void *src, size_t src_size, * * @return * - SANE_STATUS_GOOD - on success - * - SANE_STATUS_IO_ERROR - if an error occured during the dialog with the + * - SANE_STATUS_IO_ERROR - if an error occurred during the dialog with the * device */ static SANE_Status mustek_scsi_pp_rdata (int fd, int planes, diff --git a/doc/mustek/mustek.CHANGES b/doc/mustek/mustek.CHANGES index c5de63c25..99d85d419 100644 --- a/doc/mustek/mustek.CHANGES +++ b/doc/mustek/mustek.CHANGES @@ -116,7 +116,7 @@ CHANGES for the SANE Mustek backend * Used my own address instead of sane-devel for bug reports. 2002-05-31 - * Explicitely set some arrays to 0. + * Explicitly set some arrays to 0. 2002-05-28 * Released Mustek backend 1.0-124. @@ -250,7 +250,7 @@ CHANGES for the SANE Mustek backend * Released Mustek backend 1.0-110. 2001-07-10 - * Added debug output for the total amount of data transfered to the + * Added debug output for the total amount of data transferred to the frontend. * Fixed bug in fix_line_distance_block which lead to too much data transferred to sane_read. @@ -338,7 +338,7 @@ CHANGES for the SANE Mustek backend * Added 36 bit color mode for the Paragon Pro scanners. 2000-12-31 - * Added function little_endian (from coolscan.c) to check the endianess of + * Added function little_endian (from coolscan.c) to check the endianness of the current architecture (needed for 16 bit frames). * Added option for Gray fast * Added option for bit depth (8 and 12 bits for the Pro models) @@ -442,7 +442,7 @@ CHANGES for the SANE Mustek backend * Added support for TAIV for SE 12000 SP. Lamp is turned off while scanning (seems to work for firmware >= 2.00) * Adjusted transparency adapter support for all ScanExpress scanners. - The 12000 A3 SP can only do A4 beacuse I don't have the right TA. + The 12000 A3 SP can only do A4 because I don't have the right TA. * don't use u_int* types in mustek.h because the definitions for these types are not included @@ -660,7 +660,7 @@ CHANGES for the SANE Mustek backend * Released backend version 1.0-91 2000-07-18 - * Removed again MUSTEK_FLAG_LD_NONE for MFS-08000SP. Maybe the automatical + * Removed again MUSTEK_FLAG_LD_NONE for MFS-08000SP. Maybe the automatic detection works now. 2000-07-15 @@ -709,7 +709,7 @@ CHANGES for the SANE Mustek backend * fixed debug output bug in fix_linedistance_se (found by Jan-Erik Karlsson) 2000-06-21 - * fixed dependancy of mustek.h on sane-backends.h + * fixed dependency of mustek.h on sane-backends.h 2000-06-19 * Fixed gamma correction in lineart mode for Paragon 1200 A3 @@ -733,7 +733,7 @@ CHANGES for the SANE Mustek backend 24 bit per pixel are supported (12/36 are possible in hardware) 2000-06-16 - * addded debugging output in sane_control_option + * added debugging output in sane_control_option * added gamma correction for Paragon 1200 A3 Pro (doesn't work correctly yet) 2000-06-15 @@ -789,7 +789,7 @@ CHANGES for the SANE Mustek backend 2000-05-21 * The Mustek Paragon 1200 A3 PRO is now detected. This is only a test - release. Be carefull and read the PROBLEMS file if you want to + release. Be careful and read the PROBLEMS file if you want to try this scanner. 2000-05-19 @@ -801,7 +801,7 @@ CHANGES for the SANE Mustek backend 2000-05-12 * fixed bug in distinguishing firmware formats - * added shrinked image fix to ScanExpress 12000SP models <= v2.0 + * added shrunk image fix to ScanExpress 12000SP models <= v2.0 2000-05-08 * fixed remaining sane_cancel problems (in non_blocking mode) @@ -981,7 +981,7 @@ CHANGES for the SANE Mustek backend * probably fixed linedistance correction at high resolutions for MFS-1200SP firmware 1.00 and possibly others (patch from Andreas Beck) * added check for ADF ready in sane_start (patch from Joerg Anders) - * Bug fix in the STORE makros (patch from Norbert Mueller) + * Bug fix in the STORE macros (patch from Norbert Mueller) 2000-03-06