mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
Make compile with MS-VC6
This commit is contained in:
parent
bfb183e5df
commit
f83e5b1501
22 changed files with 98 additions and 64 deletions
|
@ -1254,13 +1254,14 @@ int han_xin(struct zint_symbol *symbol, const unsigned char source[], size_t len
|
|||
gbdata[i] = (int) source[i];
|
||||
}
|
||||
} else {
|
||||
int posn;
|
||||
/* Convert Unicode input to GB-18030 */
|
||||
int error_number = utf8toutf16(symbol, source, utfdata, &length);
|
||||
if (error_number != 0) {
|
||||
return error_number;
|
||||
}
|
||||
|
||||
int posn = 0;
|
||||
posn = 0;
|
||||
for (i = 0; i < length; i++) {
|
||||
int done = 0;
|
||||
gbdata[posn] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue