mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
code reworked
This commit is contained in:
@@ -593,7 +593,7 @@ int c1_encode(struct zint_symbol *symbol, unsigned char source[], unsigned int t
|
||||
}
|
||||
|
||||
if(current_mode == C1_EDI) { /* Step E - EDI Encodation */
|
||||
int value = 0, done = 0, latch = 0;
|
||||
int value = 0,latch = 0;
|
||||
|
||||
next_mode = C1_EDI;
|
||||
if(edi_p == 0) {
|
||||
@@ -605,7 +605,7 @@ int c1_encode(struct zint_symbol *symbol, unsigned char source[], unsigned int t
|
||||
}
|
||||
|
||||
if (j == 12) {
|
||||
next_mode = C1_ASCII; done = 1;
|
||||
next_mode = C1_ASCII;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -626,7 +626,7 @@ int c1_encode(struct zint_symbol *symbol, unsigned char source[], unsigned int t
|
||||
}
|
||||
|
||||
if ((j == 8) && latch) {
|
||||
next_mode = C1_ASCII; done = 1;
|
||||
next_mode = C1_ASCII;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user