Fix mixed unix / windows EOL

This commit is contained in:
Boris Zentner
2017-10-23 21:34:31 +02:00
committed by Robin Stuart
parent 2372c16ba0
commit 45441a6da7
24 changed files with 278 additions and 255 deletions

View File

@ -1004,7 +1004,7 @@ static int cc_binary_string(struct zint_symbol *symbol, const char source[], cha
/* No date data */
strcat(binary_string, "11");
read_posn = 2;
} else {
} else {
long int group_val;
/* Production Date (11) or Expiration Date (17) */
char date_str[4];
@ -1120,11 +1120,11 @@ static int cc_binary_string(struct zint_symbol *symbol, const char source[], cha
test3 = 1;
}
if ((test1 != -1) && (test2 != 1) && (test3 == 0)) {
if ((test1 != -1) && (test2 != 1) && (test3 == 0)) {
int next_ai_posn;
char numeric_part[4];
int numeric_value;
int table3_letter;
char numeric_part[4];
int numeric_value;
int table3_letter;
/* Encodation method "11" can be used */
strcat(binary_string, "11");
@ -1873,3 +1873,4 @@ int composite(struct zint_symbol *symbol, unsigned char source[], int length) {
return error_number;
}