1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-27 14:57:10 +00:00

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

@@ -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;
}