mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 10:45:12 -04:00
Correct bizarre use of isX12()
Bug spotted by Milton Neal
This commit is contained in:
parent
118caf10ea
commit
804ca24aca
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ static int p_r_6_2_1(const unsigned char inputData[], const int position, const
|
|||
|
||||
for (i = position; i < sourcelen; i++) {
|
||||
if (nonX12Position == 0) {
|
||||
if (isX12(i) == 1) {
|
||||
if (isX12(inputData[i]) != 1) {
|
||||
nonX12Position = i;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue