summaryrefslogtreecommitdiff
path: root/backend/hp5400_internal.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:25:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:25:42 +0100
commit64ddd1a4dfcefd11f662f5cf4bb05b590d901a97 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/hp5400_internal.c
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parentecaaf250cb33ff61f37a7b441f2337584a655350 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/hp5400_internal.c')
-rw-r--r--backend/hp5400_internal.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/backend/hp5400_internal.c b/backend/hp5400_internal.c
index 1d81358..322359a 100644
--- a/backend/hp5400_internal.c
+++ b/backend/hp5400_internal.c
@@ -21,8 +21,7 @@
GNU 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.
@@ -385,7 +384,7 @@ SetCalibration (int iHandle, int numPixels, unsigned int *low_vals[3],
i = j / numLoop;
/* This is obviously not quite right. The values on
- * the right are approximatly what windows sends */
+ * the right are approximately what windows sends */
k = (high_vals[0][i] > 0x4000) ? 1000000000 / high_vals[0][i] : 0; /* 0x6700 */
pixel->highr[0] = k;
pixel->highr[1] = k >> 8;
@@ -781,7 +780,7 @@ DoAverageScan (int iHandle, struct ScanRequest *req, int code,
HWParams.iXferHandle = iHandle;
if (InitScan2 (SCAN_TYPE_CALIBRATION, req, &HWParams, &res, 0, code) != 0)
- return -1; /* No colour offseting, we want raw */
+ return -1; /* No colour offsetting, we want raw */
length = htonl (res.xsize) / 6;
@@ -1204,7 +1203,7 @@ InitScan2 (enum ScanType scantype, struct ScanRequest *req,
/* Protect scanner from damage. This stops stpuid errors. It basically
* limits you to the scanner glass. Stuff like calibrations which need
- * more access do it safely by fiddling other paramters. Note you can
+ * more access do it safely by fiddling other parameters. Note you can
* still break things by fiddling the ScanOffset, but that is not yet
* under user control */