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
|
@ -1254,7 +1254,7 @@ int han_xin(struct zint_symbol *symbol, const unsigned char source[], size_t len
|
|||
gbdata[i] = (int) source[i];
|
||||
}
|
||||
} else {
|
||||
int posn;
|
||||
int posn;
|
||||
/* Convert Unicode input to GB-18030 */
|
||||
int error_number = utf8toutf16(symbol, source, utfdata, &length);
|
||||
if (error_number != 0) {
|
||||
|
@ -1570,3 +1570,4 @@ int han_xin(struct zint_symbol *symbol, const unsigned char source[], size_t len
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue