mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 11:47:26 -08:00
Allow space in Code128 CodeSet B (#1658)
Space is a valid character in CodeSet B.
This commit is contained in:
parent
41592c4b41
commit
7880290d25
|
@ -137,7 +137,7 @@ public final class Code128Writer extends OneDimensionalCodeWriter {
|
|||
break;
|
||||
case CODE_CODE_B:
|
||||
// allows no ascii below 32 (terminal symbols)
|
||||
if (c <= 32) {
|
||||
if (c < 32) {
|
||||
throw new IllegalArgumentException("Bad character in input for forced code set B: ASCII value=" + (int) c);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue