From 351b7328520c16730ceb46e5acae16038c42185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Feb 2021 18:24:19 +0100 Subject: New upstream version 1.0.32 --- backend/u12.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'backend/u12.c') diff --git a/backend/u12.c b/backend/u12.c index 57e1f63..7434552 100644 --- a/backend/u12.c +++ b/backend/u12.c @@ -2,7 +2,7 @@ * @brief SANE backend for USB scanner, based on Plusteks' ASIC P98003 and * the GeneSys Logic GL640 parallel-port to USB bridge. * - * Based on source aquired from Plustek
+ * Based on source acquired from Plustek
* Copyright (c) 2003-2004 Gerhard Jaeger
* * History: @@ -24,9 +24,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 . * * As a special exception, the authors of SANE give permission for * additional uses of the libraries contained in this release of SANE. @@ -731,7 +729,7 @@ static SANE_Bool decodeVal( char *src, char *opt, if( tmp ) { - /* on success, compare wiht the given one */ + /* on success, compare with the given one */ if( 0 == strcmp( tmp, opt )) { DBG( _DBG_SANE_INIT, "Decoding option >%s<\n", opt ); @@ -779,7 +777,7 @@ static SANE_Bool decodeVal( char *src, char *opt, return SANE_FALSE; } -/** function to retrive the device name of a given string +/** function to retrieve the device name of a given string * @param src - string that keeps the option name to check src for * @param dest - pointer to the string, that should receive the detected * devicename @@ -840,7 +838,7 @@ static SANE_Status attach( const char *dev_name, if( NULL == dev ) return SANE_STATUS_NO_MEM; - /* assign all the stuff we need fo this device... */ + /* assign all the stuff we need for this device... */ memset(dev, 0, sizeof (*dev)); dev->fd = -1; @@ -916,7 +914,7 @@ static void init_config_struct( pCnfDef cnf ) cnf->adj.bgamma = 1.0; } -/** intialize the backend +/** initialize the backend */ SANE_Status sane_init( SANE_Int *version_code, SANE_Auth_Callback authorize ) { -- cgit v1.2.3