summaryrefslogtreecommitdiff
path: root/backend/gt68xx.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:25:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:25:42 +0100
commit64ddd1a4dfcefd11f662f5cf4bb05b590d901a97 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/gt68xx.c
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parentecaaf250cb33ff61f37a7b441f2337584a655350 (diff)
Merge branch 'feature/upstream' into develop
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;
}
}