changed the wrong field name when HCL_OOCH_IS_BCH
This commit is contained in:
parent
7a47ba6369
commit
ed7f580e54
@ -405,7 +405,7 @@ static HCL_INLINE hcl_ooi_t write_output (hcl_t* hcl, hcl_iooutarg_t* arg)
|
||||
ucslen = arg->len - donelen;
|
||||
if (ucslen > bcslen) ucslen = bcslen;
|
||||
else if (ucslen < bcslen) bcslen = ucslen;
|
||||
hcl_copybchars (&arg->buf[donelen], bcsbuf, bcslen);
|
||||
hcl_copybchars (&arg->ptr[donelen], bcsbuf, bcslen);
|
||||
#endif
|
||||
|
||||
if (fwrite (bcsbuf, HCL_SIZEOF(bcsbuf[0]), bcslen, (FILE*)arg->handle) < bcslen)
|
||||
|
Loading…
Reference in New Issue
Block a user