mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-18 00:54:36 -04:00
Fixed bug introduced in bfb183e5df
with utf8 input be trucated at length - 3
This commit is contained in:
parent
6b1421b895
commit
3bbc188217
1 changed files with 1 additions and 1 deletions
|
@ -787,9 +787,9 @@ void strip_bom(unsigned char *source, int *input_length) {
|
|||
for (i = 3; i < *input_length; i++) {
|
||||
source[i - 3] = source[i];
|
||||
}
|
||||
*input_length -= 3;
|
||||
}
|
||||
}
|
||||
*input_length -= 3;
|
||||
}
|
||||
|
||||
int ZBarcode_Encode(struct zint_symbol *symbol, const unsigned char *source,int in_length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue