Skip to content

Commit

Permalink
Merge pull request #65 from saitoha/ttdoda
Browse files Browse the repository at this point in the history
fix to use dcs_end_size with dcs_start
  • Loading branch information
saitoha committed May 12, 2018
2 parents 57c2c88 + 8071994 commit 974c521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tosixel.c
Expand Up @@ -64,7 +64,7 @@ sixel_penetrate(
- dcs_start_size - dcs_end_size;

for (pos = 0; pos < nwrite; pos += splitsize) {
output->fn_write((char *)dcs_start, dcs_end_size, output->priv);
output->fn_write((char *)dcs_start, dcs_start_size, output->priv);
output->fn_write(((char *)output->buffer) + pos,
nwrite - pos < splitsize ? nwrite - pos: splitsize,
output->priv);
Expand Down

0 comments on commit 974c521

Please sign in to comment.