[sixel] get last column in wipes

pull/1610/head
nick black 3 years ago committed by Nick Black
parent 505571e43f
commit effb1d4613

@ -746,7 +746,7 @@ wipe_color(sixelmap* smap, int color, int sband, int eband,
}
//fprintf(stderr, "s/e: %d/%d mask: %02x\n", starty, endy, mask);
}
for(int x = startx ; x < endx ; ++x){
for(int x = startx ; x <= endx ; ++x){
const int xoff = boff + x;
//fprintf(stderr, "band: %d color: %d idx: %d\n", b, color, color * smap->sixelcount + xoff);
//fprintf(stderr, "color: %d idx: %d data: %02x\n", color, color * smap->sixelcount + xoff, smap->data[color * smap->sixelcount + xoff]);

Loading…
Cancel
Save