mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 03:56:56 -04:00
Add corrections from tgotic
This commit is contained in:
parent
de9984a346
commit
1ff9c0d472
46 changed files with 11829 additions and 2646 deletions
|
@ -155,16 +155,16 @@ short int islarger(short int accum[], short int reg[])
|
|||
return larger;
|
||||
}
|
||||
|
||||
void binary_load(short int reg[], char data[])
|
||||
void binary_load(short int reg[], char data[], const unsigned int src_len)
|
||||
{
|
||||
int read, i;
|
||||
short int temp[112];
|
||||
short int temp[112] = { 0 };
|
||||
|
||||
for(i = 0; i < 112; i++) {
|
||||
reg[i] = 0;
|
||||
}
|
||||
|
||||
for(read = 0; read < strlen(data); read++) {
|
||||
for(read = 0; read < src_len; read++) {
|
||||
|
||||
for(i = 0; i < 112; i++) {
|
||||
temp[i] = reg[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue