mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-16 00:13:00 +00:00
[sixel_trans_auxvec] AUXVECELEMSIZE, not 3
This commit is contained in:
parent
196958dce0
commit
4730c3de47
@ -1678,7 +1678,7 @@ void sixel_cleanup(tinfo* ti){
|
||||
}
|
||||
|
||||
uint8_t* sixel_trans_auxvec(const ncpile* p){
|
||||
const size_t slen = 3 * p->cellpxy * p->cellpxx;
|
||||
const size_t slen = AUXVECELEMSIZE * p->cellpxy * p->cellpxx;
|
||||
uint8_t* a = malloc(slen);
|
||||
if(a){
|
||||
memset(a, 0, slen);
|
||||
|
Loading…
Reference in New Issue
Block a user