mirror of
https://github.com/zxing/zxing.git
synced 2024-09-20 21:47:32 -07:00
"Skip 0 barcodes" was incorrectly not returning the first barcode found
git-svn-id: https://zxing.googlecode.com/svn/trunk@337 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
012a8c0ce7
commit
01075819c5
|
@ -87,7 +87,10 @@ public abstract class AbstractOneDReader implements OneDReader {
|
|||
}
|
||||
|
||||
Hashtable lastResults = null;
|
||||
boolean skippingSomeBarcodes = hints != null && hints.containsKey(DecodeHintType.SKIP_N_BARCODES);
|
||||
boolean skippingSomeBarcodes =
|
||||
hints != null &&
|
||||
hints.containsKey(DecodeHintType.SKIP_N_BARCODES) &&
|
||||
((Integer) hints.get(DecodeHintType.SKIP_N_BARCODES)).intValue() > 0;
|
||||
|
||||
for (int x = 0; x < maxLines; x++) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue