summaryrefslogtreecommitdiff
path: root/backend/plustek_pp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
commitecaaf250cb33ff61f37a7b441f2337584a655350 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/plustek_pp.c
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parent351b7328520c16730ceb46e5acae16038c42185e (diff)
Update upstream source from tag 'upstream/1.0.32'
Update to upstream version '1.0.32' with Debian dir 2c1111c59d9d68bcbf479a4a4de7697fe2de127f
Diffstat (limited to 'backend/plustek_pp.c')
-rw-r--r--backend/plustek_pp.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/backend/plustek_pp.c b/backend/plustek_pp.c
index fdcc6b6..76a8789 100644
--- a/backend/plustek_pp.c
+++ b/backend/plustek_pp.c
@@ -28,9 +28,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.
@@ -887,7 +885,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 );
@@ -935,7 +933,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
@@ -997,7 +995,7 @@ static SANE_Status attach( const char *dev_name, pCnfDef cnf,
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));
@@ -1128,7 +1126,7 @@ static void init_config_struct( pCnfDef cnf, SANE_Bool direct_io )
cnf->adj.bgamma = 1.0;
}
-/** intialize the backend
+/** initialize the backend
*/
SANE_Status sane_init( SANE_Int *version_code, SANE_Auth_Callback authorize )
{