summaryrefslogtreecommitdiff
path: root/backend/artec_eplus48u.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
commit9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch)
treec9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /backend/artec_eplus48u.c
parent446e9454b8cbe5b689149415d11d36e88442ca88 (diff)
parent154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff)
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
Diffstat (limited to 'backend/artec_eplus48u.c')
-rw-r--r--backend/artec_eplus48u.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/backend/artec_eplus48u.c b/backend/artec_eplus48u.c
index c5eb225..4c15673 100644
--- a/backend/artec_eplus48u.c
+++ b/backend/artec_eplus48u.c
@@ -42,9 +42,7 @@ Updates (C) 2001 by Henning Meier-Geinitz.
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.
@@ -510,7 +508,7 @@ copy_scan_line (Artec48U_Scanner * s)
{
/*For resolution of 1200 dpi we have to interpolate
horizontally, because the optical horizontal resolution is
- limited to 600 dpi. We simply use the avarage value of two pixels. */
+ limited to 600 dpi. We simply use the average value of two pixels. */
int cnt, i, j;
int xs = s->params.pixel_xs;
int interpolate = 0;
@@ -787,7 +785,7 @@ attach (const char *dev_name, Artec48U_Device ** devp)
vendor_string[40] = 0;
model_string[40] = 0;
- /* assign all the stuff we need fo this device... */
+ /* assign all the stuff we need for this device... */
dev->sane.vendor = strdup (vendor_string);
XDBG ((3, "attach: setting vendor string: %s\n", vendor_string));
dev->sane.model = strdup (model_string);
@@ -874,7 +872,7 @@ decodeVal (char *src, char *opt, int what, void *result, void *def)
if (tmp)
{
- /* on success, compare wiht the given one */
+ /* on success, compare with the given one */
if (0 == strcmp (tmp, opt))
{
XDBG ((1, "Decoding option >%s<\n", opt));
@@ -952,7 +950,7 @@ decodeVal (char *src, char *opt, int what, void *result, void *def)
}
/**
- * function to retrive the device name of a given string
+ * function to retrieve the device name of a given string
* @param src - string that keeps the option name to check src for
* @param dest - pointer to the string, that should receive the detected
* devicename
@@ -3058,7 +3056,7 @@ calculate_contrast (Artec48U_Scanner * s)
Works like the white shading correction, with the difference, that the red-, green-
and blue exposure time is set to 0x04 (the value is taken from the windoze driver).
-Since we do this over the whole width of the image with the maximal optical resolution,
- we can use the shading data for every scan, independend of the size, position or resolution,
+ we can use the shading data for every scan, independent of the size, position or resolution,
because we have the shading values for every sensor/LED.
Note: