Description: Correct source typos Author: Jörg Frings-Fürst 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; }