diff options
Diffstat (limited to 'src/barcode/barcode.cpp')
-rw-r--r-- | src/barcode/barcode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/barcode/barcode.cpp b/src/barcode/barcode.cpp index 05302b3..648f1a1 100644 --- a/src/barcode/barcode.cpp +++ b/src/barcode/barcode.cpp @@ -775,7 +775,7 @@ TQValueVector<int> Decoder_EAN13::decode( TQValueVector< TQValueVector<int> > fi MatchMakerResult Decoder_EAN13::recognizeNumber( TQValueVector< TQValueVector<int> > fields, int code_table_to_use) { - // convert the pixel lenghts of the four black&white fields into + // convert the pixel lengths of the four black&white fields into // normed values that have together a length of 70; int pixel_sum = fields[0][1] + fields[1][1] + fields[2][1] + fields[3][1]; int b[4]; @@ -789,7 +789,7 @@ MatchMakerResult Decoder_EAN13::recognizeNumber( TQValueVector< TQValueVector<in fprintf( stderr, "normed lengths: %i %i %i %i\n", b[0], b[1], b[2], b[3] ); #endif - // try to detect the digit that is encoded by the set of four normed bar lenghts: + // try to detect the digit that is encoded by the set of four normed bar lengths: int max_difference_for_acceptance = 60; int temp; |