mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix mixed unix / windows EOL
This commit is contained in:
committed by
Robin Stuart
parent
2372c16ba0
commit
45441a6da7
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user