mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
[sixel] completely wipe cells when height % 6 == 1 #1628
This commit is contained in:
parent
1b4d346fb1
commit
ace36638d6
@ -801,7 +801,7 @@ wipe_color(sixelmap* smap, int color, int sband, int eband,
|
||||
// we're going to repurpose starty as "starting row of this band", so keep it
|
||||
// around as originy for auxvecidx computations
|
||||
int originy = starty;
|
||||
for(int b = sband ; b <= eband && b * 6 < endy ; ++b){
|
||||
for(int b = sband ; b <= eband && b * 6 <= endy ; ++b){
|
||||
const int boff = coff + b * dimx; // offset in data where band starts
|
||||
unsigned char mask = 63;
|
||||
for(int i = 0 ; i < 6 ; ++i){
|
||||
|
Loading…
Reference in New Issue
Block a user