summaryrefslogtreecommitdiff
path: root/backend/umax1220u-common.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/umax1220u-common.c
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parentecaaf250cb33ff61f37a7b441f2337584a655350 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/umax1220u-common.c')
-rw-r--r--backend/umax1220u-common.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/backend/umax1220u-common.c b/backend/umax1220u-common.c
index e14dfea..dd70834 100644
--- a/backend/umax1220u-common.c
+++ b/backend/umax1220u-common.c
@@ -19,9 +19,7 @@
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.
@@ -87,7 +85,7 @@
* physical limit to UMAX_MAX_WIDTH as well (based on the
* sensor size) but I do not know what it is. The current
* value can be increased beyond what it is now, but you
- * gain nothing in usuable scan area (you only scan more
+ * gain nothing in usable scan area (you only scan more
* of the underside of the scanner's plastic lid).
*/
@@ -98,7 +96,7 @@
/* Buffer size. Specifies the size of the buffer that is
* used to copy data from the scanner. The old command
* line driver had this set at 0x80000 which is likely
- * the largest possible chunck of data that can be.
+ * the largest possible chunk of data that can be.
* at once. This is probably most efficient, but using
* a lower value for the SANE driver makes the driver
* more responsive to interaction.
@@ -369,7 +367,7 @@ xxxops (UMAX_Handle * scan)
}
/*
-Apparently sends the two syncronization characters followed
+Apparently sends the two synchronization characters followed
by the command length, followed by the command number
*/
static SANE_Status
@@ -412,7 +410,7 @@ usync (UMAX_Handle * scan, UMAX_Cmd cmd, int len)
}
/*
-This function escapes any syncronization sequence that may be
+This function escapes any synchronization sequence that may be
in data, storing the result in buf. In the worst case where
every character gets escaped buf must be at least twice as
large as dlen.