mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Corrected NVE-18
This commit is contained in:
parent
c6e035bde8
commit
33ea0612ae
@ -908,6 +908,11 @@ int nve_18(struct zint_symbol *symbol, unsigned char source[])
|
|||||||
checkstr[0] = itoc(nve_check);
|
checkstr[0] = itoc(nve_check);
|
||||||
concat(localstr, checkstr);
|
concat(localstr, checkstr);
|
||||||
error_number = code_128(symbol, (unsigned char *)localstr);
|
error_number = code_128(symbol, (unsigned char *)localstr);
|
||||||
|
for(i = 2; i <= 20; i++) {
|
||||||
|
localstr[i - 2] = localstr[i];
|
||||||
|
}
|
||||||
|
strcpy(symbol->text, "(00)");
|
||||||
|
concat(symbol->text, localstr);
|
||||||
|
|
||||||
return error_number;
|
return error_number;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user