mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
CLI: Handle UTF-8 args on Windows; -b <barcode name>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user