mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 20:14:28 -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
|
@ -428,9 +428,9 @@ int rss14(struct zint_symbol *symbol, unsigned char source[], int src_len) {
|
|||
|
||||
/* Put this data into the symbol */
|
||||
if ((symbol->symbology == BARCODE_RSS14) || (symbol->symbology == BARCODE_RSS14_CC)) {
|
||||
int count;
|
||||
int check_digit;
|
||||
char hrt[15];
|
||||
int count;
|
||||
int check_digit;
|
||||
char hrt[15];
|
||||
writer = 0;
|
||||
latch = '0';
|
||||
for (i = 0; i < 46; i++) {
|
||||
|
@ -1068,7 +1068,7 @@ int general_rules(char type[]) {
|
|||
block[1][block_count] = type[0];
|
||||
|
||||
for (i = 1; i < strlen(type); i++) {
|
||||
char last;
|
||||
char last;
|
||||
current = type[i];
|
||||
last = type[i - 1];
|
||||
|
||||
|
@ -1084,7 +1084,7 @@ int general_rules(char type[]) {
|
|||
block_count++;
|
||||
|
||||
for (i = 0; i < block_count; i++) {
|
||||
char next;
|
||||
char next;
|
||||
current = block[1][i];
|
||||
next = (block[1][i + 1] & 0xFF);
|
||||
|
||||
|
@ -2099,8 +2099,8 @@ int rssexpanded(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
|||
}
|
||||
|
||||
} else {
|
||||
int stack_rows;
|
||||
int current_row, current_block, left_to_right;
|
||||
int stack_rows;
|
||||
int current_row, current_block, left_to_right;
|
||||
/* RSS Expanded Stacked */
|
||||
|
||||
/* Bug corrected: Character missing for message
|
||||
|
@ -2127,8 +2127,8 @@ int rssexpanded(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
|||
|
||||
current_block = 0;
|
||||
for (current_row = 1; current_row <= stack_rows; current_row++) {
|
||||
int special_case_row = 0;
|
||||
int elements_in_sub;
|
||||
int special_case_row = 0;
|
||||
int elements_in_sub;
|
||||
int sub_elements[235];
|
||||
for (i = 0; i < 235; i++) {
|
||||
sub_elements[i] = 0;
|
||||
|
@ -2312,3 +2312,4 @@ int rssexpanded(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue