summaryrefslogtreecommitdiff
path: root/backend/gt68xx.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
commit351b7328520c16730ceb46e5acae16038c42185e (patch)
treefae21fd5c94f3c3ed0202a95c9ada705482e647b /backend/gt68xx.c
parentad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff)
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/gt68xx.c')
-rw-r--r--backend/gt68xx.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/backend/gt68xx.c b/backend/gt68xx.c
index f657d42..6e43765 100644
--- a/backend/gt68xx.c
+++ b/backend/gt68xx.c
@@ -18,9 +18,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.
@@ -124,7 +122,7 @@ static const SANE_Device **devlist = 0;
static GT68xx_Device **new_dev = 0;
/* Length of new_dev array */
static SANE_Int new_dev_len = 0;
-/* Number of entries alloced for new_dev */
+/* Number of entries allocated for new_dev */
static SANE_Int new_dev_alloced = 0;
/* Is this computer little-endian ?*/
SANE_Bool little_endian;
@@ -1527,7 +1525,7 @@ sane_open (SANE_String_Const devicename, SANE_Handle * handle)
}
/* The firmware check is disabled by default because it may confuse
- some scanners: So the firmware is loaded everytime. */
+ some scanners: So the firmware is loaded every time. */
#if 0
RIE (gt68xx_device_check_firmware (dev, &firmware_loaded));
firmware_loaded = SANE_FALSE;
@@ -2030,7 +2028,7 @@ sane_start (SANE_Handle handle)
} while ((i<5) && (document==SANE_FALSE));
if(document==SANE_FALSE)
{
- DBG (4, "sane_start: no doucment detected after %d s\n",i);
+ DBG (4, "sane_start: no document detected after %d s\n",i);
return SANE_STATUS_NO_DOCS;
}
}