mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
CLI: Handle UTF-8 args on Windows; -b <barcode name>
This commit is contained in:
parent
4efbd46f86
commit
484bd6e19a
12 changed files with 2101 additions and 1568 deletions
|
@ -1307,6 +1307,9 @@ int ZBarcode_Encode(struct zint_symbol *symbol, const unsigned char *source, int
|
|||
}
|
||||
return error_tag(symbol->errtxt, error_number);
|
||||
}
|
||||
if (error_number && warn_number == 0) {
|
||||
warn_number = error_number;
|
||||
}
|
||||
ustrcpy(local_source, reduced); // Cannot contain nul char
|
||||
in_length = (int) ustrlen(local_source);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue