diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-02-16 18:24:19 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-02-16 18:24:19 +0100 |
commit | 351b7328520c16730ceb46e5acae16038c42185e (patch) | |
tree | fae21fd5c94f3c3ed0202a95c9ada705482e647b /backend/umax1220u-common.c | |
parent | ad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff) |
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/umax1220u-common.c')
-rw-r--r-- | backend/umax1220u-common.c | 12 |
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. |