mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
Fix mixed unix / windows EOL
This commit is contained in:
parent
2372c16ba0
commit
45441a6da7
24 changed files with 278 additions and 255 deletions
|
@ -107,7 +107,7 @@ void regroupe(int *indexliste) {
|
|||
int i = 1;
|
||||
while (i < *(indexliste)) {
|
||||
if (liste[1][i - 1] == liste[1][i]) {
|
||||
int j;
|
||||
int j;
|
||||
/* bring together */
|
||||
liste[0][i - 1] = liste[0][i - 1] + liste[0][i];
|
||||
j = i + 1;
|
||||
|
@ -427,7 +427,7 @@ void byteprocess(int *chainemc, int *mclength, unsigned char chaine[], int start
|
|||
printf("913 %d\n", chainemc[*mclength - 1]);
|
||||
}
|
||||
} else {
|
||||
int len;
|
||||
int len;
|
||||
/* select the switch for multiple of 6 bytes */
|
||||
if (length % 6 == 0) {
|
||||
chainemc[(*mclength)++] = 924;
|
||||
|
@ -439,7 +439,7 @@ void byteprocess(int *chainemc, int *mclength, unsigned char chaine[], int start
|
|||
|
||||
len = 0;
|
||||
|
||||
while (len < length) {
|
||||
while (len < length) {
|
||||
uint64_t total;
|
||||
unsigned int chunkLen = length - len;
|
||||
if (6 <= chunkLen) /* Take groups of 6 */ {
|
||||
|
@ -497,7 +497,7 @@ void numbprocess(int *chainemc, int *mclength, char chaine[], int start, int len
|
|||
|
||||
j = 0;
|
||||
while (j < length) {
|
||||
int longueur;
|
||||
int longueur;
|
||||
int dumlength = 0;
|
||||
strcpy(chainemod, "");
|
||||
longueur = length - j;
|
||||
|
@ -1288,3 +1288,4 @@ int micro_pdf417(struct zint_symbol *symbol, unsigned char chaine[], const size_
|
|||
|
||||
return codeerr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue