summaryrefslogtreecommitdiff
path: root/backend/mustek.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/mustek.c
parentad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff)
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/mustek.c')
-rw-r--r--backend/mustek.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/backend/mustek.c b/backend/mustek.c
index 6a9aa86..48bcfd9 100644
--- a/backend/mustek.c
+++ b/backend/mustek.c
@@ -17,9 +17,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.
@@ -114,7 +112,7 @@ static Mustek_Device **new_dev;
/* Length of new_dev array */
static SANE_Int new_dev_len;
-/* Number of entries alloced for new_dev */
+/* Number of entries allocated for new_dev */
static SANE_Int new_dev_alloced;
static SANE_Int lamp_off_time = 60;
@@ -4910,7 +4908,7 @@ reader_process (void *data)
s->total_lines = 0;
bpl = s->hw->bpl;
- /* buffer size is scanner dependant */
+ /* buffer size is scanner dependent */
lines_per_buffer = s->hw->buffer_size / bpl / 2;
if (strip_height > 0.0)
@@ -6305,7 +6303,7 @@ sane_start (SANE_Handle handle)
else if (strcmp (mode, SANE_VALUE_SCAN_MODE_COLOR) == 0)
s->mode = MUSTEK_MODE_COLOR;
- /* scanner dependant specials */
+ /* scanner dependent specials */
s->one_pass_color_scan = SANE_FALSE;
if ((s->mode & MUSTEK_MODE_COLOR)
&& !(s->hw->flags & MUSTEK_FLAG_THREE_PASS))