1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 18:07:02 +00:00

Corrected reed-solomon/Data Matrix bug

This commit is contained in:
hooper114
2008-10-12 18:52:54 +00:00
parent 5994ff5cf7
commit 944a754fee
6 changed files with 19 additions and 20 deletions

View File

@@ -48,6 +48,7 @@ void maxi_do_primary_check( )
for ( j = 0; j < ecclen; j += 1)
maxi_codeword[ datalen + j] = results[j];
rs_free();
}
void maxi_do_secondary_chk_odd( int ecclen )
@@ -72,6 +73,7 @@ void maxi_do_secondary_chk_odd( int ecclen )
for ( j = 0; j < (ecclen); j += 1)
maxi_codeword[ datalen + (2 *j) + 1 + 20 ] = results[j];
rs_free();
}
void maxi_do_secondary_chk_even(int ecclen )
@@ -96,6 +98,7 @@ void maxi_do_secondary_chk_even(int ecclen )
for ( j = 0; j < (ecclen); j += 1)
maxi_codeword[ datalen + (2 *j) + 20] = results[j];
rs_free();
}
void maxi_bump(int set[], int character[], int bump_posn)