1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
Description: Correct source typos
Author: Jörg Frings-Fürst <debian@jff.email>
Forwarded: not-needed
Last-Update: 2022-02-04
----
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/backend/epsonds-jpeg.c
===================================================================
--- trunk.orig/backend/epsonds-jpeg.c
+++ trunk/backend/epsonds-jpeg.c
@@ -194,7 +194,7 @@ void eds_decode_jpeg(epsonds_scanner*s,
}
}
}
- DBG(10,"decodded lines = %d\n", sum);
+ DBG(10,"decoded lines = %d\n", sum);
// abandon unncessary data
if ((JDIMENSION)sum < jpeg_cinfo.output_height)
Index: trunk/frontend/jpegtopdf.c
===================================================================
--- trunk.orig/frontend/jpegtopdf.c
+++ trunk/frontend/jpegtopdf.c
@@ -285,7 +285,7 @@ SANE_Int sane_pdf_start_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -326,7 +326,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -346,7 +346,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -360,7 +360,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -376,7 +376,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -386,7 +386,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( _get_current_time( &tm, &sign_c, &tz_h, &tz_m ) == SANE_ERR ) {
- fprintf ( stderr, " Error is occured in _get_current_time.\n" );
+ fprintf ( stderr, " Error is occurred in _get_current_time.\n" );
goto EXIT;
}
/* Dates format */
@@ -404,7 +404,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -420,7 +420,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -434,7 +434,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
w_count += SANE_PDF_FIRST_PAGE_ID - 1;
@@ -450,7 +450,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
w_count ++;
@@ -472,7 +472,7 @@ SANE_Int sane_pdf_end_doc( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -568,7 +568,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -586,7 +586,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
/* write Contents(2) */
@@ -598,7 +598,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -609,7 +609,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -627,7 +627,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -648,7 +648,7 @@ SANE_Int sane_pdf_start_page(
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -680,7 +680,7 @@ SANE_Int sane_pdf_end_page( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
@@ -698,7 +698,7 @@ SANE_Int sane_pdf_end_page( void *pw )
goto EXIT;
}
if ( ( ldata = re_write_if_fail( pwork->fd, str, len ) ) < 0 ) {
- fprintf ( stderr, " Error is occured in re_write_if_fail.\n" );
+ fprintf ( stderr, " Error is occurred in re_write_if_fail.\n" );
goto EXIT;
}
|