1
0
mirror of https://github.com/woo-j/zint.git synced 2024-12-26 07:21:31 +03:00

Corrected NVE-18

This commit is contained in:
hooper114 2008-10-14 20:50:00 +00:00
parent c6e035bde8
commit 33ea0612ae

View File

@ -908,6 +908,11 @@ int nve_18(struct zint_symbol *symbol, unsigned char source[])
checkstr[0] = itoc(nve_check);
concat(localstr, checkstr);
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;
}