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
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user