spelling fixes for niash backend

merge-requests/518/head
Peter Marschall 2020-08-29 08:37:18 +02:00
rodzic 56be6cf59a
commit 340f7e7329
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -223,7 +223,7 @@ static const char lineartStr[] = { SANE_VALUE_SCAN_MODE_LINEART };
#define MODE_GRAY 1
#define MODE_LINEART 2
/* lineart treshold range */
/* lineart threshold range */
static const SANE_Range rangeThreshold = {
0,
100,
@ -660,7 +660,7 @@ _InitOptions (TScanner * s)
pDesc->constraint_type = SANE_CONSTRAINT_RANGE;
pDesc->constraint.range = &rangeYmm;
pDesc->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;
pVal->w = 290 /* have a bit reserve instaed of rangeYmm.max */ ;
pVal->w = 290 /* have a bit reserve instead of rangeYmm.max */ ;
break;
case optDPI:

Wyświetl plik

@ -877,7 +877,7 @@ _UnscrambleLine (unsigned char *pabLine,
else
{
int i, j; /* loop variables */
int c; /* color buffer accumulator for horizontal avarage */
int c; /* color buffer accumulator for horizontal average */
/* initialize for incremental color buffer access */
int iInc = 1;
@ -1052,7 +1052,7 @@ CircBufferInit (int iHandle, TDataPipe * p,
#define SAFETY_LINES 0
#define MAX_LINES_PER_XFERBUF 800
/* estimate of number of unsigned chars to transfer at all via the USB */
/* add some lines for securtiy */
/* add some lines for security */
p->iLinesLeft =
iHeight + p->iSkipLines + p->iLinesPerCircBuf + SAFETY_LINES;
@ -1216,7 +1216,7 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
TScanParams Params;
unsigned char abGamma[4096];
int i, j;
static unsigned char abBuf[HW_PIXELS * 3 * 71]; /* Carefull : see startWhite and endWhite below */
static unsigned char abBuf[HW_PIXELS * 3 * 71]; /* Careful : see startWhite and endWhite below */
static unsigned char abLine[HW_PIXELS * 3];
static unsigned char abWhite[HW_PIXELS * 3];
unsigned char *pabWhite;