diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 13:56:20 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 13:56:20 -0500 |
commit | a7b645e155a2fcdf86df6e8dee1c67a9ba6782ab (patch) | |
tree | d0e3838ee5f45f9000c969b9d20f2416780e5e90 /src/barcode | |
parent | b606515636497c0a4e4bd8dd27ec1e2dd1d54553 (diff) | |
download | tellico-a7b645e155a2fcdf86df6e8dee1c67a9ba6782ab.tar.gz tellico-a7b645e155a2fcdf86df6e8dee1c67a9ba6782ab.zip |
Fix typos.
Diffstat (limited to 'src/barcode')
-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; |