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); 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;
} }