mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-22 20:37:08 +00:00
Avoid type definition outside of blocks to be VC6 compatible.
This commit is contained in:
@@ -1299,7 +1299,7 @@ int aztec(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
break;
|
||||
case 10:
|
||||
for (i = 0; i < data_blocks; i++) {
|
||||
for(int p = 0; p < 10; p++) {
|
||||
for(p = 0; p < 10; p++) {
|
||||
if (adjusted_string[i * codeword_size + p] == '1') {
|
||||
data_part[i] += (0x200 >> p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user