Fix minor typos in messages and comments

merge-requests/1/head
Yuri Chornoivan 2015-07-11 09:32:09 +03:00 zatwierdzone przez m. allan noah
rodzic 11a7ac14af
commit 648d933c56
21 zmienionych plików z 23 dodań i 23 usunięć

Wyświetl plik

@ -1305,7 +1305,7 @@ artec_set_scan_window (SANE_Handle handle)
{
/* top left X value */
/* the select area is flipped across the page, so we have to do some */
/* calculation here to get the the real starting X value */
/* calculation here to get the real starting X value */
max_x = (int) ((SANE_UNFIX (s->hw->x_range.max) / MM_PER_INCH) *
s->x_resolution);
reversed_x = max_x - s->tl_x - s->params.pixels_per_line;

Wyświetl plik

@ -2347,7 +2347,7 @@ attach (const char *dev_name, Epson_Device * *devp, int type)
/*
* Extended status flag request (ESC f).
* this also requests the scanner device name from the the scanner
* this also requests the scanner device name from the scanner
*/
/*
* because we are also using the device name from this command,

Wyświetl plik

@ -581,7 +581,7 @@ e2_discover_capabilities(Epson_Scanner *s)
/*
* Extended status flag request (ESC f).
* this also requests the scanner device name from the the scanner.
* this also requests the scanner device name from the scanner.
* It seems unsupported on the network transport (CX11NF/LP-A500).
*/

Wyświetl plik

@ -5914,8 +5914,8 @@ init_options (Genesys_Scanner * s)
/* expiration time for calibration cache entries */
s->opt[OPT_EXPIRATION_TIME].name = "expiration-time";
s->opt[OPT_EXPIRATION_TIME].title = SANE_I18N ("Calibration cache expiration time");
s->opt[OPT_EXPIRATION_TIME].desc = SANE_I18N ("Time (in minutes) before a cached calibration expires."
"A value of 0 means cache is not used used. A negative value means cache never expires.");
s->opt[OPT_EXPIRATION_TIME].desc = SANE_I18N ("Time (in minutes) before a cached calibration expires. "
"A value of 0 means cache is not used. A negative value means cache never expires.");
s->opt[OPT_EXPIRATION_TIME].type = SANE_TYPE_INT;
s->opt[OPT_EXPIRATION_TIME].unit = SANE_UNIT_NONE;
s->opt[OPT_EXPIRATION_TIME].constraint_type = SANE_CONSTRAINT_RANGE;

Wyświetl plik

@ -1965,7 +1965,7 @@ sanei_lexmark_low_search_home_bwd (Lexmark_Device * dev)
available. The number of lines (or number of buffers in our buffer space)
is calculated from the size of the data available from the scanner. The
number of buffers is calculated as the space required to hold 1.5 times
the the size of the data available from the scanner.
the size of the data available from the scanner.
After data is read from the scanner each line is checked if it is on the
home dot. Lines are continued to be read until we are no longer on the home

Wyświetl plik

@ -4013,7 +4013,7 @@ get_scan_mode_and_depth(Microtek2_Scanner *ms,
/* This function translates the strings for the possible modes and */
/* bitdepth into a more conveniant format as needed for SET WINDOW. */
/* bits_per_pixel is the number of bits per color one pixel needs */
/* when transferred from the the scanner, bits_perpixel_out is the */
/* when transferred from the scanner, bits_perpixel_out is the */
/* number of bits per color one pixel uses when transferred to the */
/* frontend. These may be different. For example, with a depth of 4 */
/* two pixels per byte are transferred from the scanner, but only one */

Wyświetl plik

@ -2086,7 +2086,7 @@ cis_calibrate (Mustek_PP_CIS_dev * dev)
* It seems that the width of the black border is being measured at
* this stage, possibly multiple times till it stabilizes.
* I assume that the buffer is read 100 times to allow the lamp to
* warm up and that the the width of the black border is then being
* warm up and that the width of the black border is then being
* measured till it stabilizes. That would explain the minimum number
* of 102 iterations that I've seen.
*

Wyświetl plik

@ -140,7 +140,7 @@ static int hang_over;
client/server have different endianness. A value of -1 means, that there's
no left over; otherwise the value has to be casted to SANE_Byte. left_over
means, that there is a remaining byte from a previous call to sane_read,
which already is in the the correct byte order, but could not be returned,
which already is in the correct byte order, but could not be returned,
e.g. because the frontend requested only one byte per call.
*/
static int left_over;

Wyświetl plik

@ -147,7 +147,7 @@ struct pixma_scan_ops_t
* -# Fill the buffer pointed by ib->wptr directly and leave
* ib->rptr and ib->rend untouched. The length of the buffer is
* ib->wend - ib->wptr. It must update ib->wptr accordingly.
* -# Update ib->rptr and ib->rend to point to the the beginning and
* -# Update ib->rptr and ib->rend to point to the beginning and
* the end of the internal buffer resp. The length of the buffer
* is ib->rend - ib->rptr. This function is called again if
* and only if pixma_read_image() has copied the whole buffer.

Wyświetl plik

@ -338,7 +338,7 @@ static void dacP98SetInitialGainRegister( pScanData ps )
dacP98FillGainInitialRestRegister( ps );/* Model Control2, LED, Correct.*/
}
/** Find the the most ideal intensity for each color (RGB)
/** Find the most ideal intensity for each color (RGB)
*/
static void dacP98SetRGBGainRegister( pScanData ps )
{
@ -451,7 +451,7 @@ static void dacP98SetInitialGainRAM( pScanData ps )
dacP98DownloadMapTable( ps, ps->pScanBuffer1 );
}
/** Find the the most ideal intensity for each color (RGB)
/** Find the most ideal intensity for each color (RGB)
*/
static void dacP98AdjustRGBGain( pScanData ps )
{

Wyświetl plik

@ -152,7 +152,7 @@
/*
* WARNING - never use the _SECOND define with the _DODELAY macro !!
* they are for use the the MiscStartTimer function and the _DO_UDELAY macro
* they are for use the MiscStartTimer function and the _DO_UDELAY macro
*/
#ifndef __KERNEL__
typedef double TimerDef, *pTimerDef;

Wyświetl plik

@ -89,7 +89,7 @@ typedef struct {
static u_short a_wWhiteShading[_SHADING_BUF] = {0};
static u_short a_wDarkShading[_SHADING_BUF] = {0};
/* the version the the calibration files */
/* the version the calibration files */
#define _PT_CF_VERSION 0x0002
/** function to read a text file and returns the string which starts which

Wyświetl plik

@ -44,7 +44,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$
SANE SnapScan backend */

Wyświetl plik

@ -44,7 +44,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$

Wyświetl plik

@ -44,7 +44,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$

Wyświetl plik

@ -44,7 +44,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$

Wyświetl plik

@ -45,7 +45,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$

Wyświetl plik

@ -44,7 +44,7 @@
If you do not wish that, delete this exception notice.
This file is a component of the implementation of a backend for many
of the the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
of the AGFA SnapScan and Acer Vuego/Prisa flatbed scanners. */
/* $Id$
SANE SnapScan backend */

Wyświetl plik

@ -16466,7 +16466,7 @@ Grandtek Scopecam
<dt><b>Manufacturer:</b></dt>
<dd>Manufacturer, vendor or brand name of the device.</dd>
<dt><b>Model:</b></dt>
<dd>Name of the the device.</dd>
<dd>Name of the device.</dd>
<dt><b>Interface:</b></dt>
<dd>How the device is connected to the computer.</dd>
<dt><b>USB id:</b></dt>

Wyświetl plik

@ -23864,7 +23864,7 @@ qcam<br>(unmaintained)
<blockquote>
<dl>
<dt><b>Model:</b></dt>
<dd>Name of the the device.</dd>
<dd>Name of the device.</dd>
<dt><b>Interface:</b></dt>
<dd>How the device is connected to the computer.</dd>
<dt><b>USB id:</b></dt>

Wyświetl plik

@ -2878,7 +2878,7 @@ static void
html_print_legend_model (void)
{
printf
(" <dt><b>Model:</b></dt>\n" " <dd>Name of the the device.</dd>\n");
(" <dt><b>Model:</b></dt>\n" " <dd>Name of the device.</dd>\n");
}
static void