From 46d70602c5e7e36c679ec8de26ca920c2a23825a Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 13 Apr 2021 16:42:00 -0400 Subject: [PATCH] always set SIXEL_P2_TRANS on transparent pixels #1527 --- src/lib/sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sixel.c b/src/lib/sixel.c index 53ac8302c..c8c6e1b28 100644 --- a/src/lib/sixel.c +++ b/src/lib/sixel.c @@ -173,8 +173,8 @@ extract_color_table(const uint32_t* data, int linesize, int cols, if(rgba_trans_p(*rgb, bargs->transcolor)){ if(tacache[txyidx] == SPRIXCELL_NORMAL){ tacache[txyidx] = SPRIXCELL_CONTAINS_TRANS; - stab->p2 = SIXEL_P2_TRANS; } + stab->p2 = SIXEL_P2_TRANS; continue; } if(tacache[txyidx] == SPRIXCELL_ANNIHILATED){