summaryrefslogtreecommitdiff
path: root/backend/umax1220u-common.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/umax1220u-common.c
parent446e9454b8cbe5b689149415d11d36e88442ca88 (diff)
parent154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff)
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
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.